diff --git a/projects/clr/hipamd/src/hip_device_runtime.cpp b/projects/clr/hipamd/src/hip_device_runtime.cpp index 6db682345f..f93adc18b6 100644 --- a/projects/clr/hipamd/src/hip_device_runtime.cpp +++ b/projects/clr/hipamd/src/hip_device_runtime.cpp @@ -418,7 +418,7 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device) // HIP runtime always uses SVM for host memory allocations. // Note: Host registered memory isn't covered by this feature // and still requires hipMemHostGetDevicePointer() call - *pi = g_devices[device]->devices()[0]->info().hostUnifiedMemory_; + *pi = true; break; case hipDeviceAttributeCanUseStreamWaitValue: // hipStreamWaitValue64() and hipStreamWaitValue32() support