summaryrefslogtreecommitdiff
path: root/libcuda/cuda_runtime_api.cc
diff options
context:
space:
mode:
authorspeverel <[email protected]>2016-06-09 14:59:22 -0700
committerspeverel <[email protected]>2016-06-09 14:59:22 -0700
commite8f2a1c2e7f69133fbd3c5db82ac3884efc13e7f (patch)
tree971867f0cbe820ecd8074a22d295a03ad7008331 /libcuda/cuda_runtime_api.cc
parentac11fd57b93e22ee5a50ebf8f6d6b4d6dadbe3cb (diff)
parentadabbc7070704d1be79465786d59e170030c7b0d (diff)
Merge branch 'dev' of https://github.com/sspenst/gpgpu-sim_distribution into dev
Diffstat (limited to 'libcuda/cuda_runtime_api.cc')
-rw-r--r--libcuda/cuda_runtime_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc
index 350ba0b..5558c4b 100644
--- a/libcuda/cuda_runtime_api.cc
+++ b/libcuda/cuda_runtime_api.cc
@@ -989,7 +989,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)