Add NVCC implementation for hipPeeakAtLastError
[ROCm/clr commit: 7492351a3c]
Esse commit está contido em:
1 pai
62c5658e93
commit
e317f07cb3
1 file changed
+4
@@ -132,6 +132,10 @@ inline static hipError_t hipGetLastError() {
|
||||
return hipCUDAErrorTohipError(cudaGetLastError());
|
||||
}
|
||||
|
||||
inline static hipError_t hipPeekAtLastError() {
|
||||
return hipCUDAErrorTohipError(cudaPeekAtLastError());
|
||||
}
|
||||
|
||||
inline static hipError_t hipMalloc(void** ptr, size_t size) {
|
||||
return hipCUDAErrorTohipError(cudaMalloc(ptr, size));
|
||||
}
|
||||
|
||||
Reference in new issue
Bloquear um usuário