SWDEV-336532 - Convert Managed Memory in hipPointerGetAttributes on Nvidia platform

Change-Id: I3bc6180040b6ad48f06ffdc7d01ca6fd9fe32c0e


[ROCm/clr commit: f7d0850eb8]
Этот коммит содержится в:
Satyanvesh Dittakavi committed 2022-06-16 00:43:15 -04:00
1 родитель 770171bde8
Коммит 920ceab2db
1 file changed
+3
+3
Просмотреть файл
@@ -1949,6 +1949,9 @@ inline static hipError_t hipPointerGetAttributes(hipPointerAttribute_t* attribut
case cudaMemoryTypeHost:
attributes->memoryType = hipMemoryTypeHost;
break;
case cudaMemoryTypeManaged:
attributes->memoryType = hipMemoryTypeManaged;
break;
default:
return hipErrorInvalidValue;
}