Stream fix on nvcc hipMemsetAsync

Change-Id: Ia0eb81dff0f422af55d93b4635d42e9aa6921377


[ROCm/hip commit: 9f05eca0a0]
This commit is contained in:
Aditya Atluri
2016-10-03 12:38:41 -05:00
parent d3c43d12f1
commit dd55ba8b5d
@@ -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)