mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
This PR relands the changes introduced in PR https://github.com/pytorch/pytorch/pull/100849. The old PR turnd nnc_* functions into static. We now add declarations for them and hope that inter builds will pass. Pull Request resolved: https://github.com/pytorch/pytorch/pull/102228 Approved by: https://github.com/albanD
15 lines
345 B
C++
15 lines
345 B
C++
#ifndef PROFILER_ITT_H
|
|
#define PROFILER_ITT_H
|
|
#include <c10/macros/Export.h>
|
|
|
|
namespace torch {
|
|
namespace 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 profiler
|
|
} // namespace torch
|
|
|
|
#endif // PROFILER_ITT_H
|