19 #ifndef TVM_RUNTIME_NVTX_H_
20 #define TVM_RUNTIME_NVTX_H_
46 #define TVM_NVTX_FUNC_SCOPE() NVTXScopedRange _nvtx_func_scope_(__FUNCSIG__);
48 #define TVM_NVTX_FUNC_SCOPE() NVTXScopedRange _nvtx_func_scope_(__PRETTY_FUNCTION__);
A class to create a NVTX range. No-op if TVM is not built against NVTX.
Definition: nvtx.h:31
NVTXScopedRange(const NVTXScopedRange &other)=delete
NVTXScopedRange & operator=(NVTXScopedRange &&other)=delete
NVTXScopedRange(NVTXScopedRange &&other)=delete
~NVTXScopedRange()
Exist an NVTX scoped range.
NVTXScopedRange(const char *name)
Enter an NVTX scoped range.
NVTXScopedRange & operator=(const NVTXScopedRange &other)=delete
NVTXScopedRange(const std::string &name)
Enter an NVTX scoped range.
Definition: nvtx.h:36
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36