File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,9 @@ int main(int argc, char **argv) {
185185 useDefaultListener = true ;
186186 }
187187 }
188+ productFamily = hwInfoForTests.platform .eProductFamily ;
189+ renderCoreFamily = hwInfoForTests.platform .eRenderCoreFamily ;
190+
188191 // Platforms with uninitialized factory are not supported
189192 if (L0::commandListFactory[productFamily] == nullptr ) {
190193 std::cout << " unsupported product family has been set: " << NEO::hardwarePrefix[::productFamily] << std::endl;
@@ -227,9 +230,6 @@ int main(int argc, char **argv) {
227230 // set Gt and FeatureTable to initial state
228231 NEO::hardwareInfoSetup[productFamily](&hwInfoForTests, false , hwInfoConfig);
229232
230- productFamily = hwInfoForTests.platform .eProductFamily ;
231- renderCoreFamily = hwInfoForTests.platform .eRenderCoreFamily ;
232-
233233 NEO::defaultHwInfo = std::make_unique<NEO::HardwareInfo>();
234234 *NEO::defaultHwInfo = hwInfoForTests;
235235
Original file line number Diff line number Diff line change @@ -160,6 +160,9 @@ int main(int argc, char **argv) {
160160 useDefaultListener = true ;
161161 }
162162 }
163+ productFamily = hwInfoForTests.platform .eProductFamily ;
164+ renderCoreFamily = hwInfoForTests.platform .eRenderCoreFamily ;
165+
163166 // Platforms with uninitialized factory are not supported
164167 if (L0::commandListFactory[productFamily] == nullptr ) {
165168 std::cout << " unsupported product family has been set: " << NEO::hardwarePrefix[::productFamily] << std::endl;
@@ -192,9 +195,6 @@ int main(int argc, char **argv) {
192195 // set Gt and FeatureTable to initial state
193196 NEO::hardwareInfoSetup[productFamily](&hwInfoForTests, false , hwInfoConfig);
194197
195- productFamily = hwInfoForTests.platform .eProductFamily ;
196- renderCoreFamily = hwInfoForTests.platform .eRenderCoreFamily ;
197-
198198 NEO::defaultHwInfo = std::make_unique<NEO::HardwareInfo>();
199199 *NEO::defaultHwInfo = hwInfoForTests;
200200
You can’t perform that action at this time.
0 commit comments