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:
@@ -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_;
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador