mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Change size calculating for scratch on dg2
Also add proper init for SliceInfo on Linux Resolves: NEO-6449 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f8de237963
commit
fa16cbceb9
@@ -312,6 +312,10 @@ 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