19#include <cudf_test/cudf_gtest.hpp>
21#include <rmm/cuda_stream_view.hpp>
22#include <rmm/mr/device/per_device_resource.hpp>
23#include <rmm/resource_ref.hpp>
32 rmm::device_async_resource_ref _mr{rmm::mr::get_current_device_resource()};
33 rmm::cuda_stream_view _stream{rmm::cuda_stream_default};
41 rmm::device_async_resource_ref
mr() {
return _mr; }
48 rmm::cuda_stream_view
stream() {
return _stream; }
84template <
typename... Ts>
86 public ::testing::TestWithParam<std::tuple<Ts...>> {};
92using FloatingPointTypes = ::testing::Types<float, double>;
Base test fixture class from which libcuspatial test with only value parameterization should inherit.
Base test fixture class from which libcuspatial test with no parameterization or only with type param...
Mixin to supply rmm resources for fixtures.
rmm::device_async_resource_ref mr()
Returns pointer to device_memory_resource that should be used for all tests inheriting from this fixt...
rmm::cuda_stream_view stream()
Returns cuda_stream_view that should be used for computation in tests inheriting from this fixture.