SWDEV-422544 - Use hipDeviceAttributeUnifiedAddressing as APU flag

Change-Id: If718a20f62f0ba8d83c01a0b2d16ff3f706f7bd4
This commit is contained in:
Todd tiantuo Li committed 2023-12-08 11:40:34 -05:00
1 vanhempi 912cc407a4
commit b825decd42
1 file changed
+1 -1
+1 -1
Näytä tiedosto
@@ -422,7 +422,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 = true;
*pi = g_devices[device]->devices()[0]->info().hostUnifiedMemory_;
break;
case hipDeviceAttributeCanUseStreamWaitValue:
// hipStreamWaitValue64() and hipStreamWaitValue32() support