diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp index 7035246240..ea107be614 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp @@ -1915,8 +1915,12 @@ void Resource::warmUpRenames(VirtualGPU& gpu) { for (uint i = 0; i < dev().settings().maxRenames_; ++i) { - const bool force = true; - rename(gpu, force); + uint dummy = 0; + const bool NoWait = false; + // Write 0 for the buffer paging by VidMM + writeRawData(gpu, sizeof(dummy), &dummy, NoWait); + const bool Force = true; + rename(gpu, Force); } }