Add hipMalloc3D to nvcc detail
Change-Id: I8a5654066ed1504e3b05eddbbdebf05fd52aa149
[ROCm/hip commit: 661561eead]
Tento commit je obsažen v:
1 rodič
c72126e989
revize
9cb5c4efd8
1 file changed
+4
@@ -382,6 +382,10 @@ inline static hipError_t hipMallocPitch(void** ptr, size_t* pitch, size_t width,
|
||||
return hipCUDAErrorTohipError(cudaMallocPitch(ptr, pitch, width, height));
|
||||
}
|
||||
|
||||
inline static hipError_t hipMalloc3D(hipPitchedPtr* pitchedDevPtr, hipExtent extent) {
|
||||
return hipCUDAErrorTohipError(cudaMalloc3D(pitchedDevPtr, extent));
|
||||
}
|
||||
|
||||
inline static hipError_t hipFree(void* ptr) { return hipCUDAErrorTohipError(cudaFree(ptr)); }
|
||||
|
||||
inline static hipError_t hipMallocHost(void** ptr, size_t size)
|
||||
|
||||
Reference in new issue
Zablokovat Uživatele