Add NVCC implementation for hipPeeakAtLastError

이 커밋은 다음에 포함됨:
Ben Sander가 2016-06-16 09:38:34 -05:00를 커밋했습니다
1 부모 dbffc7bba2
커밋 7492351a3c
1 파일이 변경됨
+4
+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));
}