diff --git a/projects/clr/hipamd/src/hip_device_runtime.cpp b/projects/clr/hipamd/src/hip_device_runtime.cpp index c76a16aa5c..40052e437c 100644 --- a/projects/clr/hipamd/src/hip_device_runtime.cpp +++ b/projects/clr/hipamd/src/hip_device_runtime.cpp @@ -465,7 +465,7 @@ hipError_t hipDeviceSetCacheConfig ( hipFuncCache_t cacheConfig ) { // No way to set cache config yet. - HIP_RETURN(hipSuccess); + HIP_RETURN(hipErrorNotSupported); } hipError_t hipDeviceSetLimit ( hipLimit_t limit, size_t value ) { @@ -492,7 +492,7 @@ hipError_t hipDeviceSetSharedMemConfig ( hipSharedMemConfig config ) { // No way to set cache config yet. - HIP_RETURN(hipSuccess); + HIP_RETURN(hipErrorNotSupported); } hipError_t hipDeviceSynchronize ( void ) {