C++ API# This page documents the C++ API for RMM, also called librmm. Memory Resources Memory Resources Memory Resource Adaptors Data Containers rmm::device_buffer rmm::device_scalar rmm::device_uvector Thrust Integrations device_vector thrust_exec_policy_t thrust_exec_policy_nosync_t rmm::exec_policy rmm::exec_policy_nosync CUDA Device Management get_current_cuda_device() get_num_cuda_devices() available_device_memory() percent_of_free_device_memory() rmm::cuda_device_id rmm::cuda_set_device_raii CUDA Streams cuda_stream_default cuda_stream_legacy cuda_stream_per_thread operator==() operator!=() operator<<() rmm::cuda_stream rmm::cuda_stream_pool rmm::cuda_stream_view Errors rmm::logic_error rmm::cuda_error rmm::bad_alloc rmm::out_of_memory rmm::out_of_range Utilities RMM_DEFAULT_HOST_ALIGNMENT CUDA_ALLOCATION_ALIGNMENT is_pow2() is_supported_alignment() align_up() align_down() is_aligned() is_pointer_aligned() prefetch() prefetch() Namespaces rmm rmm::mr Indices and tables# Index Search Page