Add NVCC implementation for hipPeeakAtLastError
这个提交包含在:
1 父节点
dbffc7bba2
当前提交
7492351a3c
1 个文件已更改
+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));
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户