2
0

Add NVCC implementation for hipPeeakAtLastError

[ROCm/hip commit: b0cf03114e]
Este cometimento está contido em:
Ben Sander
2016-06-16 09:38:34 -05:00
ascendente 5a8a94216d
cometimento 02e76a17d2
+4
Ver ficheiro
@@ -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));
}