diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-04-03 11:47:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-02 20:47:10 -0700 |
| commit | 7a346b2982c69ef97ebc4b308c77a1f1c88c548f (patch) | |
| tree | e58d3a68b4640138bd57e4209aee0c92d4f5fcf4 /tools/gfx/cuda/cuda-command-queue.cpp | |
| parent | 271ae7165915cf9910e2de0224159ea0fdd8ce72 (diff) | |
Squash some warnings (#2765)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/cuda/cuda-command-queue.cpp')
| -rw-r--r-- | tools/gfx/cuda/cuda-command-queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/cuda/cuda-command-queue.cpp b/tools/gfx/cuda/cuda-command-queue.cpp index 60e81246d..0c17a418e 100644 --- a/tools/gfx/cuda/cuda-command-queue.cpp +++ b/tools/gfx/cuda/cuda-command-queue.cpp @@ -50,7 +50,7 @@ SLANG_NO_THROW void SLANG_MCALL CommandQueueImpl::executeCommandBuffers( SLANG_NO_THROW void SLANG_MCALL CommandQueueImpl::waitOnHost() { auto resultCode = cuStreamSynchronize(stream); - if (resultCode != cudaSuccess) + if (resultCode != CUDA_SUCCESS) SLANG_CUDA_HANDLE_ERROR(resultCode); } |
