31#ifndef DWTRACE_CUDA_SCOPE_TRACE_EVENT_HPP_
32#define DWTRACE_CUDA_SCOPE_TRACE_EVENT_HPP_
49 :
ScopeTraceEvent(chan, name, level, payload, nvtxPayload), m_useAsync(async), m_cudaStream(cudaStream){};
55 cudaStream_t m_cudaStream;
~CudaScopeTraceEvent() override
CudaScopeTraceEvent(bool const async, TraceChannel const chan, dwtFixedString_t const &name=dwtFixedString_t(""), cudaStream_t const cudaStream=nullptr, Level const level=DW_TRACE_LEVEL_DEFAULT, dwtFixedString_t const &payload=dwtFixedString_t(""), uint64_t const nvtxPayload=0)
Level
Tracing can be controlled through tracing levels.
TraceChannel
DWTrace channels are used for capturing similar traces in one place.
static constexpr Level DW_TRACE_LEVEL_DEFAULT
If not sure about tracing level at the time of using DWTrace API, then use default trace level.
dw::core::FixedString< DW_TRACE_MAX_TAG_SIZE > dwtFixedString_t