Stream fix on nvcc hipMemsetAsync
Change-Id: Ia0eb81dff0f422af55d93b4635d42e9aa6921377
Este commit está contenido en:
1 padre
4cc035b894
commit
3edff7dd3b
1 file changed
+2
-2
@@ -329,8 +329,8 @@ inline static hipError_t hipMemset(void* devPtr,int value, size_t count) {
|
||||
return hipCUDAErrorTohipError(cudaMemset(devPtr, value, count));
|
||||
}
|
||||
|
||||
inline static hipError_t hipMemsetAsync(void* devPtr,int value, size_t count) {
|
||||
return hipCUDAErrorTohipError(cudaMemsetAsync(devPtr, value, count));
|
||||
inline static hipError_t hipMemsetAsync(void* devPtr,int value, size_t count, hipStream stream = 0) {
|
||||
return hipCUDAErrorTohipError(cudaMemsetAsync(devPtr, value, count, stream));
|
||||
}
|
||||
|
||||
inline static hipError_t hipGetDeviceProperties(hipDeviceProp_t *p_prop, int device)
|
||||
|
||||
Reference in new issue
Block a user