RMM
23.12
RAPIDS Memory Manager
|
Helper class usable as a Thrust CUDA execution policy that uses RMM for temporary memory allocation on the specified stream. More...
#include <exec_policy.hpp>
Public Member Functions | |
exec_policy (cuda_stream_view stream=cuda_stream_default, rmm::mr::device_memory_resource *mr=mr::get_current_device_resource()) | |
Construct a new execution policy object. More... | |
Helper class usable as a Thrust CUDA execution policy that uses RMM for temporary memory allocation on the specified stream.
|
inlineexplicit |
Construct a new execution policy object.
stream | The stream on which to allocate temporary memory |
mr | The resource to use for allocating temporary memory |