Stream fix on nvcc hipMemsetAsync

Change-Id: Ia0eb81dff0f422af55d93b4635d42e9aa6921377
This commit is contained in:
Aditya Atluri
2016-10-03 12:38:41 -05:00
parent 4cc035b894
commit 3edff7dd3b
+2 -2
View File
@@ -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)