diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp index a8fb50bf6d..6cf59df440 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp @@ -457,7 +457,7 @@ Resource::create(MemoryType memType, CreateParams* params) desc.mipLevels = cal()->mipLevels_; desc.systemMemory = NULL; - uint allocAttempt = 0; + uint allocAttempt = 0; do { // Find a type for allocation if (memoryType() == Persistent) { @@ -608,11 +608,6 @@ Resource::create(MemoryType memType, CreateParams* params) return false; } - if(dev().settings().svmFineGrainSystem_) { - cal_.isAllocExecute_ = desc.isAllocExecute = true; - cal_.isAllocSVM_ = desc.isAllocSVM = true; - } - gslResource = dev().resAlloc(&desc); if (gslResource != 0) { calRes = true;