diff --git a/projects/clr/rocclr/runtime/device/pal/paldevice.cpp b/projects/clr/rocclr/runtime/device/pal/paldevice.cpp index d20b1a3513..21277d10c8 100644 --- a/projects/clr/rocclr/runtime/device/pal/paldevice.cpp +++ b/projects/clr/rocclr/runtime/device/pal/paldevice.cpp @@ -478,8 +478,8 @@ void NullDevice::fillDeviceInfo( info_.numAsyncQueues_ = numComputeRings; info_.numRTQueues_ = palProp.engineProperties[Pal::EngineTypeExclusiveCompute].engineCount - 1; - info_.numRTCUs_ = 8; - //palProp.engineProperties[Pal::EngineTypeExclusiveCompute].maxNumDedicatedCu; + info_.numRTCUs_ = + palProp.engineProperties[Pal::EngineTypeExclusiveCompute].maxNumDedicatedCu; info_.threadTraceEnable_ = settings().threadTraceEnable_; } } @@ -730,7 +730,7 @@ Device::create(Pal::IDevice* device) finalizeInfo.requestedEngineCounts[Pal::EngineTypeCompute].engines = ((1 << numComputeEngines_) - 1); // Request real time compute engines - //finalizeInfo.requestedEngineCounts[Pal::EngineTypeExclusiveCompute].engines = 3; + finalizeInfo.requestedEngineCounts[Pal::EngineTypeExclusiveCompute].engines = 3; // Request all SDMA engines finalizeInfo.requestedEngineCounts[Pal::EngineTypeDma].engines = (1 << numDmaEngines_) - 1; diff --git a/projects/clr/rocclr/runtime/device/pal/palvirtual.cpp b/projects/clr/rocclr/runtime/device/pal/palvirtual.cpp index d40cac77d4..06bbe56ab7 100644 --- a/projects/clr/rocclr/runtime/device/pal/palvirtual.cpp +++ b/projects/clr/rocclr/runtime/device/pal/palvirtual.cpp @@ -54,7 +54,7 @@ VirtualGPU::Queue::Create( else { cmdCreateInfo.engineType = qCreateInfo.engineType = Pal::EngineTypeCompute; } -/* + if (priority == amd::CommandQueue::Priority::Medium) { qCreateInfo.engineIndex = 0x1; cmdCreateInfo.engineType = qCreateInfo.engineType = Pal::EngineTypeExclusiveCompute; @@ -65,7 +65,7 @@ VirtualGPU::Queue::Create( cmdCreateInfo.engineType = qCreateInfo.engineType = Pal::EngineTypeExclusiveCompute; cmdCreateInfo.flags.realtimeComputeUnits = true; } -*/ + // Find queue object size size_t qSize = palDev->GetQueueSize(qCreateInfo, &result); if (result != Pal::Result::Success) {