为 fixture 提供 rmm 资源的 Mixin。更多...
#include <base_fixture.hpp>
公有成员函数 | |
rmm::device_async_resource_ref | mr () |
返回指向 device_memory_resource 的指针,该资源应用于所有继承此 fixture 的测试。 | |
rmm::cuda_stream_view | stream () |
返回 cuda_stream_view ,该 stream 应用于继承此 fixture 的测试中的计算。 | |
为 fixture 提供 rmm 资源的 Mixin。
定义位于文件 base_fixture.hpp 的第 31 行。
|
inline |
返回指向 device_memory_resource
的指针,该资源应用于所有继承此 fixture 的测试。
定义位于文件 base_fixture.hpp 的第 41 行。
|
inline |
返回 cuda_stream_view
,该 stream 应用于继承此 fixture 的测试中的计算。
定义位于文件 base_fixture.hpp 的第 48 行。