2
0

SWDEV-86035 - [PAL] Fix runtime init

The settings need to be populated ASAP, otherwise the dummy context is
not created properly.

Change-Id: Iede0066308bb601dc68164e894775a646a0372f1
Este cometimento está contido em:
Vladislav Sytchenko
2021-02-20 16:39:13 -05:00
ascendente b625a46db1
cometimento 263173914f
+3 -3
Ver ficheiro
@@ -906,6 +906,9 @@ bool Device::create(Pal::IDevice* device) {
return false;
}
// Fill the device info structure
fillDeviceInfo(properties(), heaps_, 16 * Ki, numComputeEngines(), numExclusiveComputeEngines());
if (!ValidateComgr()) {
LogError("Code object manager initialization failed!");
return false;
@@ -938,9 +941,6 @@ bool Device::create(Pal::IDevice* device) {
return false;
}
// Fill the device info structure
fillDeviceInfo(properties(), heaps_, 16 * Ki, numComputeEngines(), numExclusiveComputeEngines());
#ifdef DEBUG
std::stringstream message;
message << info_.name_;