diff options
| author | Jonathan <[email protected]> | 2018-05-25 17:05:28 -0700 |
|---|---|---|
| committer | Jonathan <[email protected]> | 2018-05-25 17:05:28 -0700 |
| commit | fbf8e1180008db2fec31ba1f1e916ea4cb4af97a (patch) | |
| tree | fa53ae3473f11df9123d04c3ff6cb06b8a4a32de /libcuda | |
| parent | 7aa77ad0cb1265b3858a0daa08b5afe026c129f7 (diff) | |
tentative impl of cudaStreamWaitEvent
Diffstat (limited to 'libcuda')
| -rw-r--r-- | libcuda/cuda_runtime_api.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc index cfa9cec..de6d5a5 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -1159,8 +1159,8 @@ __host__ cudaError_t CUDARTAPI cudaStreamQuery(cudaStream_t stream) __host__ cudaError_t CUDARTAPI cudaStreamWaitEvent(cudaStream_t stream, cudaEvent_t event, unsigned int flags) { - cuda_not_implemented(__my_func__,__LINE__); - return g_last_cudaError = cudaErrorUnknown; + stream->push(stream_operation(stream, event, flags)); + return g_last_cudaError = cudaSuccess; } /******************************************************************************* |
