SWDEV-438503 - Always report hipDeviceAttributeUnifiedAddressing as true.

Change-Id: I3119bd8f99c079280bde1ba32b3d26b474899e7d


[ROCm/clr commit: 60549b101c]
Tento commit je obsažen v:
Todd tiantuo Li authored and Maneesh Gupta committed 2024-02-05 05:08:11 +00:00
1 rodič 9c47344647
revize 3445b57a43
1 file changed
+1 -1
+1 -1
Zobrazit soubor
@@ -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