Skip to content

Commit

Permalink
Update all rmm imports to use pylibrmm/librmm (#4671)
Browse files Browse the repository at this point in the history
This PR updates all the RMM imports to use pylibrmm/librmm now that `rmm._lib` is deprecated . It should be merged after [rmm/1676](rapidsai/rmm#1676).

Authors:
  - Matthew Murray (https://github.com/Matt711)

Approvers:
  - Brad Rees (https://github.com/BradReesWork)
  - Alex Barghi (https://github.com/alexbarghi-nv)

URL: #4671
  • Loading branch information
Matt711 authored Oct 9, 2024
1 parent 9db7845 commit 6f4689a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python/cugraph/cugraph/structure/graph_primtypes.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, NVIDIA CORPORATION.
# Copyright (c) 2019-2024, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -21,7 +21,7 @@ from libcpp.memory cimport unique_ptr
from libcpp.utility cimport pair
from libcpp.vector cimport vector
from pylibraft.common.handle cimport *
from rmm._lib.device_buffer cimport device_buffer
from rmm.librmm.device_buffer cimport device_buffer

cdef extern from "cugraph/legacy/graph.hpp" namespace "cugraph::legacy":

Expand Down
4 changes: 2 additions & 2 deletions python/cugraph/cugraph/structure/graph_primtypes.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2023, NVIDIA CORPORATION.
# Copyright (c) 2020-2024, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -20,7 +20,7 @@ import numpy as np
from libc.stdint cimport uintptr_t
from libcpp.utility cimport move

from rmm._lib.device_buffer cimport DeviceBuffer
from rmm.pylibrmm.device_buffer cimport DeviceBuffer
from cudf.core.buffer import as_buffer
import cudf

Expand Down
2 changes: 1 addition & 1 deletion python/cugraph/cugraph/structure/graph_utilities.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ from libcpp.memory cimport unique_ptr
from libcpp.utility cimport pair
from libcpp.vector cimport vector

from rmm._lib.device_buffer cimport device_buffer
from rmm.librmm.device_buffer cimport device_buffer

from pylibraft.common.handle cimport handle_t

Expand Down

0 comments on commit 6f4689a

Please sign in to comment.