Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
backend.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <uni20/config.hpp>
5
72#define UNI20_INTERNAL_STRINGIFY_TOKEN(x) #x
73
78#define UNI20_INTERNAL_API_CALL_STRINGIZE(func) UNI20_INTERNAL_STRINGIFY_TOKEN(func)
79
90#define UNI20_EXTERNAL_API_CALL(module, func, ...) \
91 TRACE_MODULE(module, \
92 "Calling external API function " UNI20_INTERNAL_API_CALL_STRINGIZE(func) __VA_OPT__(, __VA_ARGS__))