mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:41:26 +08:00
Move slice enable to setHwInfoValuesFromConfig
Fix problem with not enabled slices in mode SetCommandStreamReceiver=1 Related-To: NEO-6507 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b7cee61bde
commit
3979af1dcc
@@ -312,10 +312,6 @@ int main(int argc, char **argv) {
|
||||
gtSystemInfo.IsDynamicallyPopulated = false;
|
||||
// clang-format on
|
||||
|
||||
for (uint32_t slice = 0; slice < gtSystemInfo.MaxSlicesSupported; slice++) {
|
||||
gtSystemInfo.SliceInfo[slice].Enabled = true;
|
||||
}
|
||||
|
||||
// Platforms with uninitialized factory are not supported
|
||||
if (L0::commandListFactory[productFamily] == nullptr) {
|
||||
std::cout << "unsupported product family has been set: " << NEO::hardwarePrefix[::productFamily] << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user