Attention
The vector search and clustering algorithms in RAFT are being migrated to a new library dedicated to vector search called cuVS. We will continue to support the vector search algorithms in RAFT during this move, but will no longer update them after the RAPIDS 24.06 (June) release. We plan to complete the migration by RAPIDS 24.08 (August) release.
NVTX#
#include <raft/core/nvtx.hpp>
namespace raft::core
-
template<typename Domain = domain::app, typename ...Args>
inline void raft::common::nvtx::push_range(const char *format, Args... args)# Push a named NVTX range.
- Template Parameters:
Domain – optional struct that defines the NVTX domain message; You can create a new domain with a custom message as follows:
NB: make sure to use the same domain forstruct custom_domain { static constexpr char const* name{"custom message"}; }
push_range
andpop_range
.- Parameters:
format – range name format (accepts printf-style arguments)
args – the arguments for the printf-style formatting
-
template<typename Domain = domain::app>
inline void raft::common::nvtx::pop_range()# Pop the latest range.
- Template Parameters:
Domain – optional struct that defines the NVTX domain message; You can create a new domain with a custom message as follows:
NB: make sure to use the same domain forstruct custom_domain { static constexpr char const* name{"custom message"}; }
push_range
andpop_range
.
-
template<typename Domain = domain::app>
class range# - #include <nvtx.hpp>
Push a named NVTX range that would be popped at the end of the object lifetime.
Refer to Usage for the usage examples.
- Template Parameters:
Domain – optional struct that defines the NVTX domain message; You can create a new domain with a custom message as follows:
struct custom_domain { static constexpr char const* name{"custom message"}; }
Public Functions