diff options
| author | sspenst <[email protected]> | 2016-06-09 14:23:28 -0700 |
|---|---|---|
| committer | sspenst <[email protected]> | 2016-06-09 14:23:28 -0700 |
| commit | adabbc7070704d1be79465786d59e170030c7b0d (patch) | |
| tree | 815452bbfc3fd16598f5cc9241d5f0e21ddcdd42 /libcuda | |
| parent | 5e9b6521e625d30f9f3efbb292fd22bdab5c884a (diff) | |
Forgot to add a return value
Diffstat (limited to 'libcuda')
| -rw-r--r-- | libcuda/cuda_runtime_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc index 77456d4..4cc002d 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -985,7 +985,7 @@ __host__ cudaError_t CUDARTAPI cudaStreamCreate(cudaStream_t *stream) } __host__ __device__ cudaError_t CUDARTAPI cudaStreamCreateWithFlags(cudaStream_t *stream, unsigned int flags) { - cudaStreamCreate(stream); + return cudaStreamCreate(stream); } __host__ cudaError_t CUDARTAPI cudaStreamDestroy(cudaStream_t stream) |
