Skip to content

Commit

Permalink
Remove rmm._lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt711 committed Dec 13, 2024
1 parent 3cad8fe commit 4d09534
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 359 deletions.
16 changes: 0 additions & 16 deletions python/rmm/rmm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,3 @@
"should_log",
"unregister_reinitialize_hook",
]


def __getattr__(name):
if name == "_lib":
import importlib

warnings.warn(
"The `rmm._lib` module is deprecated in will be removed in a future release. Use `rmm.pylibrmm` instead.",
FutureWarning,
stacklevel=2,
)

module = importlib.import_module("rmm.pylibrmm")
return module
else:
raise AttributeError(f"Module '{__name__}' has no attribute '{name}'")
23 changes: 0 additions & 23 deletions python/rmm/rmm/_lib/__init__.py

This file was deleted.

16 changes: 0 additions & 16 deletions python/rmm/rmm/_lib/cuda_stream.pxd

This file was deleted.

15 changes: 0 additions & 15 deletions python/rmm/rmm/_lib/cuda_stream.py

This file was deleted.

15 changes: 0 additions & 15 deletions python/rmm/rmm/_lib/cuda_stream_pool.pxd

This file was deleted.

20 changes: 0 additions & 20 deletions python/rmm/rmm/_lib/cuda_stream_view.pxd

This file was deleted.

27 changes: 0 additions & 27 deletions python/rmm/rmm/_lib/device_buffer.pxd

This file was deleted.

21 changes: 0 additions & 21 deletions python/rmm/rmm/_lib/device_buffer.py

This file was deleted.

15 changes: 0 additions & 15 deletions python/rmm/rmm/_lib/device_uvector.pxd

This file was deleted.

15 changes: 0 additions & 15 deletions python/rmm/rmm/_lib/helper.pxd

This file was deleted.

24 changes: 0 additions & 24 deletions python/rmm/rmm/_lib/logger.pxd

This file was deleted.

24 changes: 0 additions & 24 deletions python/rmm/rmm/_lib/logger.py

This file was deleted.

62 changes: 0 additions & 62 deletions python/rmm/rmm/_lib/memory_resource.pxd

This file was deleted.

45 changes: 0 additions & 45 deletions python/rmm/rmm/_lib/memory_resource.py

This file was deleted.

21 changes: 0 additions & 21 deletions python/rmm/rmm/_lib/per_device_resource.pxd

This file was deleted.

0 comments on commit 4d09534

Please sign in to comment.