diff --git a/rocclr/device/pal/paldevice.cpp b/rocclr/device/pal/paldevice.cpp index 11d376d902..f739446cab 100644 --- a/rocclr/device/pal/paldevice.cpp +++ b/rocclr/device/pal/paldevice.cpp @@ -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_;