Recipe info
2024-04-12

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
rmm/24.04.00

Using rmm

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
rmm/24.04.00
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("rmm/24.04.00")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): rmm
  • CMake target name(s): rmm::rmm
  • pkg-config file name(s): rmm.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(rmm REQUIRED)
# ...
target_link_libraries(YOUR_TARGET rmm::rmm)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the rmm homepage listed above:

#include "doxygen_groups.h"
#include "rmm/aligned.hpp"
#include "rmm/cuda_device.hpp"
#include "rmm/cuda_stream.hpp"
#include "rmm/cuda_stream_pool.hpp"
#include "rmm/cuda_stream_view.hpp"
#include "rmm/detail/aligned.hpp"
#include "rmm/detail/dynamic_load_runtime.hpp"
#include "rmm/detail/error.hpp"
#include "rmm/detail/exec_check_disable.hpp"
#include "rmm/detail/export.hpp"
#include "rmm/detail/logging_assert.hpp"
#include "rmm/detail/stack_trace.hpp"
#include "rmm/detail/thrust_namespace.h"
#include "rmm/device_buffer.hpp"
#include "rmm/device_scalar.hpp"
#include "rmm/device_uvector.hpp"
#include "rmm/device_vector.hpp"
#include "rmm/exec_policy.hpp"
#include "rmm/logger.hpp"
#include "rmm/mr/device/aligned_resource_adaptor.hpp"
#include "rmm/mr/device/arena_memory_resource.hpp"
#include "rmm/mr/device/binning_memory_resource.hpp"
#include "rmm/mr/device/callback_memory_resource.hpp"
#include "rmm/mr/device/cuda_async_memory_resource.hpp"
#include "rmm/mr/device/cuda_async_view_memory_resource.hpp"
#include "rmm/mr/device/cuda_memory_resource.hpp"
#include "rmm/mr/device/detail/arena.hpp"
#include "rmm/mr/device/detail/coalescing_free_list.hpp"
#include "rmm/mr/device/detail/fixed_size_free_list.hpp"
#include "rmm/mr/device/detail/free_list.hpp"
#include "rmm/mr/device/detail/stream_ordered_memory_resource.hpp"
#include "rmm/mr/device/device_memory_resource.hpp"
#include "rmm/mr/device/failure_callback_resource_adaptor.hpp"
#include "rmm/mr/device/fixed_size_memory_resource.hpp"
#include "rmm/mr/device/limiting_resource_adaptor.hpp"
#include "rmm/mr/device/logging_resource_adaptor.hpp"
#include "rmm/mr/device/managed_memory_resource.hpp"
#include "rmm/mr/device/owning_wrapper.hpp"
#include "rmm/mr/device/per_device_resource.hpp"
#include "rmm/mr/device/polymorphic_allocator.hpp"
#include "rmm/mr/device/pool_memory_resource.hpp"
#include "rmm/mr/device/statistics_resource_adaptor.hpp"
#include "rmm/mr/device/thread_safe_resource_adaptor.hpp"
#include "rmm/mr/device/thrust_allocator_adaptor.hpp"
#include "rmm/mr/device/tracking_resource_adaptor.hpp"
#include "rmm/mr/host/host_memory_resource.hpp"
#include "rmm/mr/host/new_delete_resource.hpp"
#include "rmm/mr/host/pinned_memory_resource.hpp"
#include "rmm/thrust_rmm_allocator.h"
#include "rmm/version_config.hpp"