cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
cuda::profiling::scoped_range_marker Class Reference

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)
 

Detailed Description

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.


The documentation for this class was generated from the following file: