Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cuda.bindings layout. #2545

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading