Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use RMM get_current_device_resource_ref() #1454

Open
wants to merge 4 commits into
base: branch-24.10
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/benchmarks/distance/hausdorff_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class HausdorffBenchmark : public cuspatial::benchmark {
virtual void SetUp(const ::benchmark::State& state) override
{
mr = std::make_shared<rmm::mr::cuda_memory_resource>();
rmm::mr::set_current_device_resource(mr.get()); // set default resource to cuda
rmm::mr::set_current_device_resource_ref(mr.get()); // set default resource to cuda
}
};

Expand Down
4 changes: 2 additions & 2 deletions cpp/benchmarks/fixture/benchmark_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ class benchmark : public ::benchmark::Fixture {
virtual void SetUp(const ::benchmark::State& state)
{
mr = make_pool();
rmm::mr::set_current_device_resource(mr.get()); // set default resource to pool
rmm::mr::set_current_device_resource_ref(mr.get()); // set default resource to pool
}

virtual void TearDown(const ::benchmark::State& state)
{
// reset default resource to the initial resource
rmm::mr::set_current_device_resource(nullptr);
rmm::mr::reset_current_device_resource_ref();
}

// eliminate partial override warnings (see benchmark/benchmark.h)
Expand Down
4 changes: 2 additions & 2 deletions cpp/benchmarks/fixture/rmm_pool_raii.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ class rmm_pool_raii {
rmm_pool_raii()
{
mr = make_pool();
rmm::mr::set_current_device_resource(mr.get()); // set default resource to pool
rmm::mr::set_current_device_resource_ref(mr.get()); // set default resource to pool
}

~rmm_pool_raii()
{
rmm::mr::set_current_device_resource(nullptr);
rmm::mr::reset_current_device_resource_ref();
mr.reset();
}

Expand Down
4 changes: 2 additions & 2 deletions cpp/cuproj/benchmarks/fixture/benchmark_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ class benchmark : public ::benchmark::Fixture {
virtual void SetUp(const ::benchmark::State& state) override
{
mr = make_pool();
rmm::mr::set_current_device_resource(mr.get()); // set default resource to pool
rmm::mr::set_current_device_resource_ref(mr.get()); // set default resource to pool
}

virtual void TearDown(const ::benchmark::State& state) override
{
// reset default resource to the initial resource
rmm::mr::set_current_device_resource(nullptr);
rmm::mr::reset_current_device_resource_ref();
mr.reset();
}

Expand Down
4 changes: 2 additions & 2 deletions cpp/include/cuspatial/bounding_boxes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ std::unique_ptr<cudf::table> linestring_bounding_boxes(
cudf::column_view const& x,
cudf::column_view const& y,
double expansion_radius,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute minimum bounding box for each polygon in a list.
Expand Down Expand Up @@ -82,7 +82,7 @@ std::unique_ptr<cudf::table> polygon_bounding_boxes(
cudf::column_view const& x,
cudf::column_view const& y,
double expansion_radius = 0.0,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
16 changes: 8 additions & 8 deletions cpp/include/cuspatial/distance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ std::unique_ptr<cudf::column> haversine_distance(
cudf::column_view const& b_lon,
cudf::column_view const& b_lat,
double const radius = EARTH_RADIUS_KM,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief computes Hausdorff distances for all pairs in a collection of spaces
Expand Down Expand Up @@ -125,7 +125,7 @@ std::pair<std::unique_ptr<cudf::column>, cudf::table_view> directed_hausdorff_di
cudf::column_view const& xs,
cudf::column_view const& ys,
cudf::column_view const& space_offsets,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute pairwise (multi)point-to-(multi)point Cartesian distance
Expand All @@ -145,7 +145,7 @@ std::pair<std::unique_ptr<cudf::column>, cudf::table_view> directed_hausdorff_di
std::unique_ptr<cudf::column> pairwise_point_distance(
geometry_column_view const& multipoints1,
geometry_column_view const& multipoints2,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute pairwise (multi)points-to-(multi)linestrings Cartesian distance
Expand All @@ -167,7 +167,7 @@ std::unique_ptr<cudf::column> pairwise_point_distance(
std::unique_ptr<cudf::column> pairwise_point_linestring_distance(
geometry_column_view const& multipoints,
geometry_column_view const& multilinestrings,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute pairwise (multi)point-to-(multi)polygon Cartesian distance
Expand All @@ -191,7 +191,7 @@ std::unique_ptr<cudf::column> pairwise_point_linestring_distance(
std::unique_ptr<cudf::column> pairwise_point_polygon_distance(
geometry_column_view const& multipoints,
geometry_column_view const& multipolygons,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute pairwise (multi)linestring-to-(multi)linestring Cartesian distance
Expand All @@ -213,7 +213,7 @@ std::unique_ptr<cudf::column> pairwise_point_polygon_distance(
std::unique_ptr<cudf::column> pairwise_linestring_distance(
geometry_column_view const& multilinestrings1,
geometry_column_view const& multilinestrings2,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute pairwise (multi)linestring-to-(multi)polygon Cartesian distance
Expand All @@ -238,7 +238,7 @@ std::unique_ptr<cudf::column> pairwise_linestring_distance(
std::unique_ptr<cudf::column> pairwise_linestring_polygon_distance(
geometry_column_view const& multilinestrings,
geometry_column_view const& multipolygons,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute pairwise (multi)polygon-to-(multi)polygon Cartesian distance
Expand All @@ -257,7 +257,7 @@ std::unique_ptr<cudf::column> pairwise_linestring_polygon_distance(
std::unique_ptr<cudf::column> pairwise_polygon_distance(
geometry_column_view const& multipolygons1,
geometry_column_view const& multipolygons2,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/intersection.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ template <typename T,
linestring_intersection_result<T, index_t> pairwise_linestring_intersection(
MultiLinestringRange1 multilinestrings1,
MultiLinestringRange2 multilinestrings2,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource(),
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref(),
rmm::cuda_stream_view stream = rmm::cuda_stream_default);

} // namespace cuspatial
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/intersection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ struct linestring_intersection_column_result {
linestring_intersection_column_result pairwise_linestring_intersection(
geometry_column_view const& multilinestrings_lhs,
geometry_column_view const& multilinestrings_rhs,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

} // namespace cuspatial
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/nearest_points.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ point_linestring_nearest_points_result pairwise_point_linestring_nearest_points(
std::optional<cudf::device_span<cudf::size_type const>> multilinestring_geometry_offsets,
cudf::device_span<cudf::size_type const> linestring_part_offsets,
cudf::column_view linestring_points_xy,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ namespace cuspatial {
std::unique_ptr<cudf::column> pairwise_multipoint_equals_count(
geometry_column_view const& lhs,
geometry_column_view const& rhs,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

} // namespace cuspatial
4 changes: 2 additions & 2 deletions cpp/include/cuspatial/point_in_polygon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ std::unique_ptr<cudf::column> point_in_polygon(
cudf::column_view const& poly_ring_offsets,
cudf::column_view const& poly_points_x,
cudf::column_view const& poly_points_y,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Given (point, polygon pairs), tests whether the point of each pair is inside the polygon
Expand Down Expand Up @@ -128,7 +128,7 @@ std::unique_ptr<cudf::column> pairwise_point_in_polygon(
cudf::column_view const& poly_ring_offsets,
cudf::column_view const& poly_points_x,
cudf::column_view const& poly_points_y,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/point_quadtree.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ std::pair<rmm::device_uvector<uint32_t>, point_quadtree> quadtree_on_points(
int8_t max_depth,
int32_t max_size,
rmm::cuda_stream_view stream = rmm::cuda_stream_default,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/point_quadtree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ std::pair<std::unique_ptr<cudf::column>, std::unique_ptr<cudf::table>> quadtree_
double scale,
int8_t max_depth,
cudf::size_type max_size,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/points_in_range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ std::unique_ptr<cudf::table> points_in_range(
double range_max_y,
cudf::column_view const& x,
cudf::column_view const& y,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/projection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ std::pair<std::unique_ptr<cudf::column>, std::unique_ptr<cudf::column>> sinusoid
double origin_lat,
cudf::column_view const& input_lon,
cudf::column_view const& input_lat,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
6 changes: 3 additions & 3 deletions cpp/include/cuspatial/spatial_join.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ join_quadtree_and_bounding_boxes(
T scale,
int8_t max_depth,
rmm::cuda_stream_view stream = rmm::cuda_stream_default,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Test whether the specified points are inside any of the specified polygons.
Expand Down Expand Up @@ -129,7 +129,7 @@ std::pair<rmm::device_uvector<IndexType>, rmm::device_uvector<IndexType>> quadtr
PointIterator points_first,
MultiPolygonRange polygons,
rmm::cuda_stream_view stream = rmm::cuda_stream_default,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Finds the nearest linestring to each point in a quadrant, and computes the distances
Expand Down Expand Up @@ -186,7 +186,7 @@ quadtree_point_to_nearest_linestring(
PointIterator points_first,
MultiLinestringRange linestrings,
rmm::cuda_stream_view stream = rmm::cuda_stream_default,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

} // namespace cuspatial

Expand Down
6 changes: 3 additions & 3 deletions cpp/include/cuspatial/spatial_join.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ std::unique_ptr<cudf::table> join_quadtree_and_bounding_boxes(
double y_max,
double scale,
int8_t max_depth,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Test whether the specified points are inside any of the specified polygons.
Expand Down Expand Up @@ -123,7 +123,7 @@ std::unique_ptr<cudf::table> quadtree_point_in_polygon(
cudf::column_view const& ring_offsets,
cudf::column_view const& poly_points_x,
cudf::column_view const& poly_points_y,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Finds the nearest linestring to each point in a quadrant, and computes the distances
Expand Down Expand Up @@ -172,7 +172,7 @@ std::unique_ptr<cudf::table> quadtree_point_to_nearest_linestring(
cudf::column_view const& linestring_offsets,
cudf::column_view const& linestring_points_x,
cudf::column_view const& linestring_points_y,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial/trajectory.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ std::unique_ptr<rmm::device_uvector<OffsetType>> derive_trajectories(
PointOutputIt points_output_first,
TimestampOutputIt timestamps_output_first,
rmm::cuda_stream_view stream = rmm::cuda_stream_default,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute the total distance (in meters) and average speed (in m/s) of objects in
Expand Down
6 changes: 3 additions & 3 deletions cpp/include/cuspatial/trajectory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ std::pair<std::unique_ptr<cudf::table>, std::unique_ptr<cudf::column>> derive_tr
cudf::column_view const& x,
cudf::column_view const& y,
cudf::column_view const& timestamp,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute the distance and speed of objects in a trajectory. Groups the
Expand Down Expand Up @@ -96,7 +96,7 @@ std::unique_ptr<cudf::table> trajectory_distances_and_speeds(
cudf::column_view const& x,
cudf::column_view const& y,
cudf::column_view const& timestamp,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @brief Compute the spatial bounding boxes of trajectories. Groups the x, y,
Expand Down Expand Up @@ -128,7 +128,7 @@ std::unique_ptr<cudf::table> trajectory_bounding_boxes(
cudf::column_view const& object_id,
cudf::column_view const& x,
cudf::column_view const& y,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref());

/**
* @} // end of doxygen group
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/cuspatial_test/base_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace test {
* @brief Mixin to supply rmm resources for fixtures
*/
class RMMResourceMixin {
rmm::device_async_resource_ref _mr{rmm::mr::get_current_device_resource()};
rmm::device_async_resource_ref _mr{rmm::mr::get_current_device_resource_ref()};
rmm::cuda_stream_view _stream{rmm::cuda_stream_default};

public:
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/distance/linestring_polygon_distance_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ using namespace cuspatial::test;
template <typename T>
struct PairwiseLinestringPolygonDistanceTest : public BaseFixture {
rmm::cuda_stream_view stream() { return rmm::cuda_stream_default; }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource(); }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource_ref(); }

void run_single(std::initializer_list<std::size_t> multilinestring_geometry_offsets,
std::initializer_list<std::size_t> multilinestring_part_offsets,
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/distance/point_polygon_distance_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ double constexpr PI = 3.14159265358979323846;
template <typename T>
struct PairwisePointPolygonDistanceTest : public ::testing::Test {
rmm::cuda_stream_view stream() { return rmm::cuda_stream_default; }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource(); }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource_ref(); }

void run_single(std::initializer_list<std::initializer_list<vec_2d<T>>> multipoints,
std::initializer_list<std::size_t> multipolygon_geometry_offsets,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ auto make_linestring_intersection_intermediates(std::initializer_list<IndexType>
template <typename T>
struct LinestringIntersectionIntermediatesRemoveIfTest : public ::testing::Test {
rmm::cuda_stream_view stream() { return rmm::cuda_stream_default; }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource(); }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource_ref(); }

template <typename FlagType, typename IntermediateType>
void run_single(IntermediateType& intermediates,
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/intersection/linestring_intersection_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ std::pair<collection_type_id, std::unique_ptr<cudf::column>> make_linestring_col

struct LinestringIntersectionTestBase : public BaseFixture {
rmm::cuda_stream_view stream{rmm::cuda_stream_default};
rmm::device_async_resource_ref mr{rmm::mr::get_current_device_resource()};
rmm::device_async_resource_ref mr{rmm::mr::get_current_device_resource_ref()};
};

template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/intersection/linestring_intersection_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ using namespace cuspatial::test;
template <typename T>
struct LinestringIntersectionTest : public ::testing::Test {
rmm::cuda_stream_view stream() { return rmm::cuda_stream_default; }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource(); }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource_ref(); }

template <typename IndexType, typename MultiLinestringRange, typename IntersectionResult>
void run_single_test(MultiLinestringRange lhs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Intermediate segmented_sort_intersection_intermediates(Intermediate& intermediat
template <typename T>
struct LinestringIntersectionDuplicatesTest : public ::testing::Test {
rmm::cuda_stream_view stream() { return rmm::cuda_stream_default; }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource(); }
rmm::device_async_resource_ref mr() { return rmm::mr::get_current_device_resource_ref(); }

template <typename IndexType, typename MultilinestringRange1, typename MultilinestringRange2>
void run_single(MultilinestringRange1 lhs,
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/join/quadtree_point_in_polygon_test_large.cu
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ inline auto generate_points(
cuspatial::vec_2d<T> v_max,
std::size_t seed,
rmm::cuda_stream_view stream,
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource())
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource_ref())
{
auto engine_x = cuspatial::test::deterministic_engine(42);
auto engine_y = cuspatial::test::deterministic_engine(137);
Expand Down
Loading