19#include <cudf_test/cudf_gtest.hpp>
21#include <rmm/cuda_stream_view.hpp>
22#include <rmm/mr/device/per_device_resource.hpp>
31 rmm::mr::device_memory_resource* _mr{rmm::mr::get_current_device_resource()};
32 rmm::cuda_stream_view _stream{rmm::cuda_stream_default};
40 rmm::mr::device_memory_resource*
mr() {
return _mr; }
47 rmm::cuda_stream_view
stream() {
return _stream; }
83template <
typename... Ts>
85 public ::testing::TestWithParam<std::tuple<Ts...>> {};
91using 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::mr::device_memory_resource * 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.