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

Change-Id: I3bc6180040b6ad48f06ffdc7d01ca6fd9fe32c0e
此提交包含在:
Satyanvesh Dittakavi committed 2022-06-16 00:43:15 -04:00
1 父節點 ab8583b4d5
當前提交 f7d0850eb8
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;
}