diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp index 69c66387c0..b9b47eef54 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpuresource.cpp @@ -691,10 +691,8 @@ Resource::create(MemoryType memType, CreateParams* params) resData.GLdeviceContext = oglRes->glDeviceContext_; resData.name = oglRes->handle_; resData.type = glType_; - - if(dev().settings().svmFineGrainSystem_) { - resData.flags = GL_INTEROP_SVM; - } + // We need not pass any flags down to OGL for interop and there is no need to + // pass down resData.flags field if (dev().resGLAssociate(resData)) { gslResource = resData.memObject; diff --git a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp index 884f4a99fe..ef8b14070e 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp @@ -685,11 +685,6 @@ CALGSLDevice::resGLAssociate(GLResAssociate & resData) const GSL_ALLOCATION_INSTANCED // alloc_type ); - if (m_adp->pAsicInfo->svmFineGrainSystem) - { - attribs.isAllocSVM = true; - } - hRes.type = resData.type; GLResourceData* hData = new GLResourceData;