mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
It is time to enable nested namespaces in the code. Pull Request resolved: https://github.com/pytorch/pytorch/pull/118506 Approved by: https://github.com/albanD
13 lines
320 B
C++
13 lines
320 B
C++
#ifndef PROFILER_ITT_H
|
|
#define PROFILER_ITT_H
|
|
#include <c10/macros/Export.h>
|
|
|
|
namespace torch::profiler {
|
|
TORCH_API bool itt_is_available();
|
|
TORCH_API void itt_range_push(const char* msg);
|
|
TORCH_API void itt_range_pop();
|
|
TORCH_API void itt_mark(const char* msg);
|
|
} // namespace torch::profiler
|
|
|
|
#endif // PROFILER_ITT_H
|