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

Run updated isort hook on pxd files #812

Merged
merged 1 commit into from
Jun 24, 2021
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
1 change: 1 addition & 0 deletions python/rmm/_cuda/stream.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ from libcpp cimport bool
from rmm._lib.cuda_stream_view cimport cuda_stream_view
from rmm._lib.lib cimport cudaStream_t


cdef class Stream:
cdef cudaStream_t _cuda_stream
cdef object _owner
Expand Down
5 changes: 2 additions & 3 deletions python/rmm/_lib/cuda_stream.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

cimport cython
from libcpp cimport bool
from libcpp.memory cimport unique_ptr

from rmm._lib.lib cimport cudaStream_t
from rmm._lib.cuda_stream_view cimport cuda_stream_view

cimport cython
from rmm._lib.lib cimport cudaStream_t


cdef extern from "rmm/cuda_stream.hpp" namespace "rmm" nogil:
Expand Down
1 change: 1 addition & 0 deletions python/rmm/_lib/cuda_stream_view.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ from libcpp cimport bool

from rmm._lib.lib cimport cudaStream_t


cdef extern from "rmm/cuda_stream_view.hpp" namespace "rmm" nogil:
cdef cppclass cuda_stream_view:
cuda_stream_view()
Expand Down
2 changes: 1 addition & 1 deletion python/rmm/_lib/device_uvector.pxd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021, NVIDIA CORPORATION.

from rmm._lib.device_buffer cimport device_buffer
from rmm._lib.cuda_stream_view cimport cuda_stream_view
from rmm._lib.device_buffer cimport device_buffer
from rmm._lib.memory_resource cimport device_memory_resource


Expand Down
1 change: 1 addition & 0 deletions python/rmm/_lib/lib.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ from libc.stdint cimport uintptr_t
from libcpp cimport bool
from libcpp.utility cimport pair
from libcpp.vector cimport vector

from rmm._cuda.gpu cimport cudaError_t

ctypedef pair[const char*, unsigned int] caller_pair
Expand Down