diff --git a/cpp/include/cudf_test/stream_checking_resource_adaptor.hpp b/cpp/include/cudf_test/stream_checking_resource_adaptor.hpp index 90a8c2ccc2f..d1841ff42a1 100644 --- a/cpp/include/cudf_test/stream_checking_resource_adaptor.hpp +++ b/cpp/include/cudf_test/stream_checking_resource_adaptor.hpp @@ -64,13 +64,6 @@ class stream_checking_resource_adaptor final : public rmm::mr::device_memory_res */ Upstream* get_upstream() const noexcept { return upstream_; } - /** - * @brief Checks whether the upstream resource supports streams. - * - * @return Whether or not the upstream resource supports streams - */ - bool supports_streams() const noexcept override { return upstream_->supports_streams(); } - private: /** * @brief Allocates memory of size at least `bytes` using the upstream diff --git a/java/src/main/native/src/RmmJni.cpp b/java/src/main/native/src/RmmJni.cpp index b92d9e4e891..81b8241bab0 100644 --- a/java/src/main/native/src/RmmJni.cpp +++ b/java/src/main/native/src/RmmJni.cpp @@ -96,8 +96,6 @@ class tracking_resource_adaptor final : public base_tracking_resource_adaptor { return scoped_max_total_allocated; } - bool supports_streams() const noexcept override { return resource->supports_streams(); } - private: Upstream *const resource; std::size_t const size_align; @@ -207,8 +205,6 @@ class java_event_handler_memory_resource : public device_memory_resource { device_memory_resource *get_wrapped_resource() { return resource; } - bool supports_streams() const noexcept override { return resource->supports_streams(); } - private: device_memory_resource *const resource; base_tracking_resource_adaptor *const tracker;