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

Remove prefetch factory. #1625

Merged
merged 1 commit into from
Jul 25, 2024
Merged
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
14 changes: 0 additions & 14 deletions include/rmm/mr/device/prefetch_resource_adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,5 @@ class prefetch_resource_adaptor final : public device_memory_resource {
Upstream* upstream_; // the upstream resource used for satisfying allocation requests
};

/**
* @brief Convenience factory to return a `prefetch_resource_adaptor` around the
* upstream resource `upstream`.
*
* @tparam Upstream Type of the upstream `device_memory_resource`.
* @param upstream Pointer to the upstream resource
* @return The new prefetch resource adaptor
*/
template <typename Upstream>
prefetch_resource_adaptor<Upstream> make_prefetch_adaptor(Upstream* upstream)
{
return prefetch_resource_adaptor<Upstream>{upstream};
}

/** @} */ // end of group
} // namespace rmm::mr
Loading