Skip to content

Commit

Permalink
Use cuda.bindings layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jan 17, 2025
1 parent 097ac45 commit b8591b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/pylibraft/pylibraft/common/cuda.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#

from cuda.ccudart cimport cudaStream_t
from cuda.bindings.cyruntime cimport cudaStream_t


cdef class Stream:
Expand Down
2 changes: 1 addition & 1 deletion python/pylibraft/pylibraft/common/cuda.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# cython: embedsignature = True
# cython: language_level = 3

from cuda.ccudart cimport (
from cuda.bindings.cyruntime cimport (
cudaError_t,
cudaGetErrorName,
cudaGetErrorString,
Expand Down
2 changes: 1 addition & 1 deletion python/pylibraft/pylibraft/common/handle.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import functools

from cuda.ccudart cimport cudaStream_t
from cuda.bindings.cyruntime cimport cudaStream_t
from libc.stdint cimport uintptr_t

from rmm.librmm.cuda_stream_view cimport (
Expand Down
2 changes: 1 addition & 1 deletion python/pylibraft/pylibraft/common/interruptible.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import contextlib
import signal

from cuda.ccudart cimport cudaStream_t
from cuda.bindings.cyruntime cimport cudaStream_t
from cython.operator cimport dereference

from rmm.librmm.cuda_stream_view cimport cuda_stream_view
Expand Down

0 comments on commit b8591b2

Please sign in to comment.