SWDEV-336532 - Convert Managed Memory in hipPointerGetAttributes on Nvidia platform
Change-Id: I3bc6180040b6ad48f06ffdc7d01ca6fd9fe32c0e
这个提交包含在:
1 父节点
ab8583b4d5
当前提交
f7d0850eb8
1 个文件已更改
+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;
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户