SWDEV-336532 - Convert Managed Memory in hipPointerGetAttributes on Nvidia platform
Change-Id: I3bc6180040b6ad48f06ffdc7d01ca6fd9fe32c0e
[ROCm/hipother commit: 70c90e5975]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user