#include <exception>
#include <layers/zel_tracing_api.h>
#include <ze_api.h>
#include <sycl/detail/iostream_proxy.hpp>
#include "ze_api.def"
Go to the source code of this file.
Macros | |
#define | _ZE_API(call, domain, cb, params_type) call, |
Enumerations | |
enum | ZEApiKind { ZEApiKind::_ZE_API } |
Functions | |
void | enableZeTracing () |
void | disableZeTracing () |
Variables | |
constexpr auto | ZE_CALL_STREAM_NAME = "sycl.experimental.level_zero.call" |
constexpr auto | ZE_DEBUG_STREAM_NAME = "sycl.experimental.level_zero.debug" |
thread_local uint64_t | CallCorrelationID = 0 |
thread_local uint64_t | DebugCorrelationID = 0 |
constexpr auto | GVerStr = "0.1" |
constexpr int | GMajVer = 0 |
constexpr int | GMinVer = 1 |
#define _ZE_API | ( | call, | |
domain, | |||
cb, | |||
params_type | |||
) | call, |
Definition at line 36 of file tracing.cpp.
|
strong |
Enumerator | |
---|---|
_ZE_API |
Definition at line 35 of file tracing.cpp.
void disableZeTracing | ( | ) |
Definition at line 146 of file tracing.cpp.
References ZE_CALL_STREAM_NAME, and ZE_DEBUG_STREAM_NAME.
void enableZeTracing | ( | ) |
Definition at line 41 of file tracing.cpp.
References std::cerr, GMajVer, GMinVer, GVerStr, ZE_CALL_STREAM_NAME, and ZE_DEBUG_STREAM_NAME.
Referenced by piPluginInit().
thread_local uint64_t CallCorrelationID = 0 |
Definition at line 23 of file tracing.cpp.
thread_local uint64_t DebugCorrelationID = 0 |
Definition at line 24 of file tracing.cpp.
|
constexpr |
Definition at line 27 of file tracing.cpp.
|
constexpr |
Definition at line 28 of file tracing.cpp.
|
constexpr |
Definition at line 26 of file tracing.cpp.
|
constexpr |
Definition at line 20 of file tracing.cpp.
Referenced by disableZeTracing(), and enableZeTracing().
|
constexpr |
Definition at line 21 of file tracing.cpp.
Referenced by disableZeTracing(), and enableZeTracing().