Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Macros
backend.hpp File Reference
#include <uni20/common/trace.hpp>
#include <uni20/config.hpp>
Include dependency graph for backend.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UNI20_EXTERNAL_API_CALL(module, func, ...)
 Emits a trace log entry for an outgoing backend API call.
 
#define UNI20_INTERNAL_API_CALL_STRINGIZE(func)   UNI20_INTERNAL_STRINGIFY_TOKEN(func)
 Produces the log-friendly spelling of an external backend API symbol.
 
#define UNI20_INTERNAL_STRINGIFY_TOKEN(x)   #x
 Converts the supplied token into a string literal without macro expansion.