![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Namespaces | |
| namespace | concepts |
| namespace | trait |
Classes | |
| struct | Device |
| struct | Event |
| struct | Kernel |
| struct | Memory |
| struct | Queue |
Functions | |
| void | info (concepts::Level auto logLvl, auto const &callable, std::source_location const &location=std::source_location::current()) |
| Write a meta data message to the output. | |
| constexpr bool | operator!= (concepts::Level auto lhs, concepts::Level auto rhs) |
| constexpr auto | operator+ (concepts::Level auto lhs, concepts::Level auto rhs) |
| constexpr bool | operator== (concepts::Level auto lhs, concepts::Level auto rhs) |
| auto | scope (concepts::Level auto logLvl, std::source_location const &location=std::source_location::current()) |
| Log the entry and exit of a scope. | |
Variables | |
| constexpr auto | device = Device{} |
| constexpr auto | event = Event{} |
| template<typename T_LogLvl> | |
| constexpr bool | isLogLvl_v = trait::IsLogLvl<T_LogLvl>::value |
| constexpr auto | kernel = Kernel{} |
| constexpr auto | memory = Memory{} |
| constexpr auto | queue = Queue{} |
|
inline |
Write a meta data message to the output.
| logLvl | log level or a sum of log levels |
| callable | callable without arguments which provides a string which should be written to the output |
Definition at line 61 of file logger.hpp.
|
constexpr |
|
constexpr |
|
constexpr |
|
inline |
Log the entry and exit of a scope.
The time spend within the scope is added to the output as additional information, in milliseconds.
| logLvl | log level or a sum of log levels |
Definition at line 24 of file logger.hpp.
|
constexpr |