SWDEV-438503 - Always report hipDeviceAttributeUnifiedAddressing as true.

Change-Id: I3119bd8f99c079280bde1ba32b3d26b474899e7d
Tá an tiomantas seo le fáil i:
Todd tiantuo Li údaraithe agus Maneesh Gupta tiomanta 2024-02-05 05:08:11 +00:00
1 tuismitheoir f28b1f1f1d
tiomantas 60549b101c
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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