RMM  23.12
RAPIDS Memory Manager
Classes | Typedefs
exec_policy.hpp File Reference
#include <rmm/cuda_stream_view.hpp>
#include <rmm/mr/device/thrust_allocator_adaptor.hpp>
#include <rmm/detail/thrust_namespace.h>
#include <thrust/system/cuda/execution_policy.h>
#include <thrust/version.h>
Include dependency graph for exec_policy.hpp:

Go to the source code of this file.

Classes

class  rmm::exec_policy
 Helper class usable as a Thrust CUDA execution policy that uses RMM for temporary memory allocation on the specified stream. More...
 

Typedefs

using rmm::thrust_exec_policy_t = thrust::detail::execute_with_allocator< rmm::mr::thrust_allocator< char >, thrust::cuda_cub::execute_on_stream_base >
 Synchronous execution policy for allocations using thrust.
 
using rmm::thrust_exec_policy_nosync_t = thrust_exec_policy_t
 
using rmm::exec_policy_nosync = exec_policy
 When used with Thrust < 1.16.0, exec_policy_nosync is an alias for exec_policy.
 

Detailed Description

Thrust execution policy that uses RMM's Thrust Allocator Adaptor.