Add NVCC implementation for hipPeeakAtLastError
Este cometimento está contido em:
1 ascendente
dbffc7bba2
cometimento
7492351a3c
1 ficheiro modificado
+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));
|
||||
}
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador