文件 | | 类型定义
Thrust 集成

文件

文件  device_vector.hpp
 
文件  exec_policy.hpp
 

类  rmm::exec_policy
 可用作 Thrust CUDA 执行策略的辅助类,它使用 RMM 在指定流上进行临时内存分配。 更多...
 

类型定义

template<typename T >
using rmm::device_vector = thrust::device_vector< T, rmm::mr::thrust_allocator< T > >
 使用 RMM 进行内存分配的 thrust::device_vector 的别名。
 
using rmm::thrust_exec_policy_t = thrust::detail::execute_with_allocator< mr::thrust_allocator< char >, thrust::cuda_cub::execute_on_stream_base >
 使用 thrust 进行分配的同步执行策略。
 
using rmm::thrust_exec_policy_nosync_t = thrust_exec_policy_t
 
using rmm::exec_policy_nosync = exec_policy
 当与 Thrust < 1.16.0 一起使用时,exec_policy_nosync 是 exec_policy 的别名。
 

详细描述

类型定义文档

◆ thrust_exec_policy_nosync_t

当与 Thrust < 1.16.0 一起使用时,thrust_exec_policy_nosync_t 是 thrust_exec_policy_t 的别名