Add NVCC implementation for hipPeeakAtLastError
Cette révision appartient à :
1 Parent
29552a9ae7
révision
b0cf03114e
1 fichier modifié
+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));
|
||||
}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur