Stream fix on nvcc hipMemsetAsync
Change-Id: Ia0eb81dff0f422af55d93b4635d42e9aa6921377
Ta zmiana jest zawarta w:
%! (template.HTML=
Aditya Atluri)złożyło 2016-10-03 12:38:41 -05:00
1 rodzic
4cc035b894
złożenie
3edff7dd3b
Plik 1 zmieniony
+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
Zablokuj użytkownika