Skip to content

Commit

Permalink
Remove deprecated methods from RMM (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 authored May 3, 2024
1 parent acdadb9 commit 0407e79
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cpp/include/rapids_triton/triton/triton_memory_resource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ struct triton_memory_resource final : public rmm::mr::device_memory_resource {
}

bool supports_streams() const noexcept override { return false; }
bool supports_get_mem_info() const noexcept override { return false; }
auto* get_triton_manager() const noexcept { return manager_; }

private:
Expand Down Expand Up @@ -74,11 +73,6 @@ struct triton_memory_resource final : public rmm::mr::device_memory_resource {
auto* other_triton_mr = dynamic_cast<triton_memory_resource const*>(&other);
return (other_triton_mr != nullptr && other_triton_mr->get_triton_manager() == manager_);
}

std::pair<std::size_t, std::size_t> do_get_mem_info(rmm::cuda_stream_view stream) const override
{
return {0, 0};
}
};

} // namespace rapids
Expand Down

0 comments on commit 0407e79

Please sign in to comment.