@@ -69,7 +69,7 @@ struct Target {
6969 ZnVer1, // / Tune for AMD Zen CPU (AMD Family 17h, launched 2017).
7070 ZnVer2, // / Tune for AMD Zen 2 CPU (AMD Family 17h, launched 2019).
7171 ZnVer3, // / Tune for AMD Zen 3 CPU (AMD Family 19h, launched 2020).
72- } processor = ProcessorGeneric;
72+ } processor_tune = ProcessorGeneric;
7373
7474 /* * Optional features a target can have.
7575 * Corresponds to feature_name_map in Target.cpp.
@@ -157,8 +157,8 @@ struct Target {
157157 FeatureEnd = halide_target_feature_end
158158 };
159159 Target () = default ;
160- Target (OS o, Arch a, int b, Processor p , const std::vector<Feature> &initial_features = std::vector<Feature>())
161- : os(o), arch(a), bits(b), processor(p ) {
160+ Target (OS o, Arch a, int b, Processor pt , const std::vector<Feature> &initial_features = std::vector<Feature>())
161+ : os(o), arch(a), bits(b), processor_tune(pt ) {
162162 for (const auto &f : initial_features) {
163163 set_feature (f);
164164 }
@@ -251,7 +251,7 @@ struct Target {
251251 return os == other.os &&
252252 arch == other.arch &&
253253 bits == other.bits &&
254- processor == other.processor &&
254+ processor_tune == other.processor_tune &&
255255 features == other.features ;
256256 }
257257
0 commit comments