diff --git a/projects/clr/rocclr/runtime/device/gpu/gpusched.hpp b/projects/clr/rocclr/runtime/device/gpu/gpusched.hpp index 01985190cd..7304351f6b 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpusched.hpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpusched.hpp @@ -62,7 +62,7 @@ struct SchedulerParam { uint32_t eng_clk; //!< Engine clock in Mhz uint64_t hw_queue; //!< Address to HW queue uint64_t hsa_queue; //!< Address to HSA dummy queue - uint32_t reserved; //!< Reserved + uint32_t useATC; //!< GPU access to shader program by ATC. uint32_t scratchSize; //!< Scratch buffer size uint64_t scratch; //!< GPU address to the scratch buffer uint32_t numMaxWaves; //!< The max number of possible waves diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp index 399a5fa462..daae61edcc 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp @@ -1926,6 +1926,7 @@ VirtualGPU::submitKernelInternalHSA( param->releaseHostCP = 0; param->parentAQL = vmParentWrap; param->dedicatedQueue = dev().settings().useDeviceQueue_; + param->useATC = dev().settings().svmFineGrainSystem_; // Fill the scratch buffer information if (hsaKernel.prog().maxScratchRegs() > 0) {