cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
|
A RAII/CADRe class whose scope of existence is reflected as a range in the profiler. More...
#include <profiling.hpp>
Public Member Functions | |
template<typename CharT > | |
scoped_range_marker (const CharT *description, profiling::range::type_t type=profiling::range::type_t::unspecified) | |
A RAII/CADRe class whose scope of existence is reflected as a range in the profiler.
Use it in the scope in which you perform some interesting operation, e.g. perform a synchronous I/O operation (and have it conclude of course), or launch and synch several related kernels.