Skip to content

Commit e76a389

Browse files
authored
Remove deprecated device memory resource headers (#2151)
Removes deprecated device memory resources in `<rmm/mr/device/...>`. Users should use `<rmm/mr/...>` instead. Closes #2141. Follows up on #2140. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - Lawrence Mitchell (https://github.com/wence-) URL: #2151
1 parent 2373199 commit e76a389

31 files changed

+0
-337
lines changed

cpp/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ option(BUILD_BENCHMARKS "Configure CMake to build (google) benchmarks" OFF)
3737
# This is mostly so that dependent libraries are configured in shared mode for downstream dependents
3838
# of RMM that get their common dependencies transitively.
3939
option(BUILD_SHARED_LIBS "Build RMM shared libraries" ON)
40-
option(RMM_DEPRECATE_MR_DEVICE_HEADERS "Enable deprecation warnings for rmm/mr/device/* headers" ON)
4140
set(RMM_LOGGING_LEVEL
4241
"INFO"
4342
CACHE STRING "Choose the logging level.")
@@ -48,7 +47,6 @@ message(VERBOSE "RMM: Build with NVTX support: ${RMM_NVTX}")
4847
# Set logging level. Must go before including gtests and benchmarks. Set the possible values of
4948
# build type for cmake-gui.
5049
message(STATUS "RMM: RMM_LOGGING_LEVEL = '${RMM_LOGGING_LEVEL}'")
51-
message(STATUS "RMM: Legacy rmm/mr/device headers deprecated: ${RMM_DEPRECATE_MR_DEVICE_HEADERS}")
5250

5351
# cudart can be linked statically or dynamically
5452
option(CUDA_STATIC_RUNTIME "Statically link the CUDA runtime" OFF)
@@ -127,11 +125,6 @@ if(RMM_NVTX)
127125
target_compile_definitions(rmm PUBLIC RMM_NVTX)
128126
endif()
129127

130-
# Control rmm/mr/device header deprecation warnings
131-
if(RMM_DEPRECATE_MR_DEVICE_HEADERS)
132-
target_compile_definitions(rmm PUBLIC RMM_DEPRECATE_MR_DEVICE_HEADERS=1)
133-
endif()
134-
135128
set(RMM_CXX_FLAGS -Wall -Werror -Wextra -Wno-unknown-pragmas -Wno-error=deprecated-declarations)
136129
set(RMM_CUDA_FLAGS -Werror=all-warnings
137130
-Xcompiler=-Wall,-Werror,-Wextra,-Wno-error=deprecated-declarations)

cpp/include/rmm/mr/device/aligned_resource_adaptor.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/arena_memory_resource.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/binning_memory_resource.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/callback_memory_resource.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/cuda_async_managed_memory_resource.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/cuda_async_memory_resource.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/cuda_async_view_memory_resource.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/cuda_memory_resource.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

cpp/include/rmm/mr/device/detail/arena.hpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)