Skip to content

Commit

Permalink
Remove deprecated supports_streams() (#1847)
Browse files Browse the repository at this point in the history
Fixes #1814.

This change removes the override of `spark_resource_adaptor::supports_stream()`,
in light of rapidsai/rmm#1389, which deprecated the
method.

Similar to rapidsai/cudf#14857, this change removes
the deprecated override.

Signed-off-by: MithunR <mythrocks@gmail.com>
  • Loading branch information
mythrocks committed Mar 10, 2024
1 parent 763d79a commit c8b71a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/cpp/src/SparkResourceAdaptorJni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,6 @@ class spark_resource_adaptor final : public rmm::mr::device_memory_resource {

rmm::mr::device_memory_resource* get_wrapped_resource() { return resource; }

bool supports_streams() const noexcept override { return resource->supports_streams(); }

/**
* Update the internal state so that a specific thread is dedicated to a task.
* This may be called multiple times for a given thread and if the thread is already
Expand Down

0 comments on commit c8b71a0

Please sign in to comment.