SWDEV-438503 - Always report hipDeviceAttributeUnifiedAddressing as true.

Change-Id: I3119bd8f99c079280bde1ba32b3d26b474899e7d


[ROCm/clr commit: 60549b101c]
This commit is contained in:
Todd tiantuo Li
2024-01-02 09:54:13 -08:00
committato da Maneesh Gupta
parent 9c47344647
commit 3445b57a43
@@ -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