|
MU Library
|
#include <cstdint>#include <cstring>#include "call_main_template.hpp"#include "mu/ndarray/ndarray.hpp"

Go to the source code of this file.
Classes | |
| struct | mu::function_traits< Function > |
Namespaces | |
| mu | |
| mu::detail | |
Functions | |
| bool | mu::isNormalMode (uint32_t mode) |
| template<typename T > | |
| T | mu::detail::loadArgumentSlot (const void *address) |
| template<typename Pointer > | |
| Pointer | mu::detail::unpackKernelPointer (bool isNDArrayValue, const char *buffer) |
| template<typename Pointer > | |
| void | mu::detail::storeKernelPointer (bool isNDArrayValue, char *buffer, Pointer value) |
| template<typename Param > | |
| decltype(auto) | mu::detail::unpackKernelArgument (uint32_t mode, bool isNDArrayValue, char *buffer) |
| mu::CALL_HELPER (0) | |
| mu::CALL_HELPER (1) | |
| mu::CALL_HELPER (2) | |
| mu::CALL_HELPER (3) | |
| mu::CALL_HELPER (4) | |
| mu::CALL_HELPER (5) | |
| mu::CALL_HELPER (6) | |
| mu::CALL_HELPER (7) | |
| mu::CALL_HELPER (8) | |
| mu::CALL_HELPER (9) | |
| template<typename FP > | |
| void | mu::callMain (FP func, uint32_t mode, uint32_t ndarrayValueBit, char *buffer) |
| #define ARGS | ( | x | ) | PRIMITIVE_CAT(ARGS_, x) |
Definition at line 114 of file call_main.hpp.
| #define ARGS_0 |
Definition at line 115 of file call_main.hpp.
| #define ARGS_1 GET_ARG(1); |
Definition at line 116 of file call_main.hpp.
Definition at line 117 of file call_main.hpp.
Definition at line 118 of file call_main.hpp.
Definition at line 119 of file call_main.hpp.
Definition at line 120 of file call_main.hpp.
Definition at line 121 of file call_main.hpp.
Definition at line 122 of file call_main.hpp.
Definition at line 123 of file call_main.hpp.
Definition at line 124 of file call_main.hpp.
| #define CALL_FUNC | ( | x | ) | fp(CALL_PARAMS(x)) |
Definition at line 158 of file call_main.hpp.
| #define CALL_HELPER | ( | _NUM | ) |
Definition at line 160 of file call_main.hpp.
| #define CALL_PARAMS | ( | x | ) | PRIMITIVE_CAT(CALL_PARAMS_, x) |
Definition at line 147 of file call_main.hpp.
| #define CALL_PARAMS_0 |
Definition at line 148 of file call_main.hpp.
| #define CALL_PARAMS_1 a1 |
Definition at line 149 of file call_main.hpp.
| #define CALL_PARAMS_2 CALL_PARAMS_1, a2 |
Definition at line 150 of file call_main.hpp.
| #define CALL_PARAMS_3 CALL_PARAMS_2, a3 |
Definition at line 151 of file call_main.hpp.
| #define CALL_PARAMS_4 CALL_PARAMS_3, a4 |
Definition at line 152 of file call_main.hpp.
| #define CALL_PARAMS_5 CALL_PARAMS_4, a5 |
Definition at line 153 of file call_main.hpp.
| #define CALL_PARAMS_6 CALL_PARAMS_5, a6 |
Definition at line 154 of file call_main.hpp.
| #define CALL_PARAMS_7 CALL_PARAMS_6, a7 |
Definition at line 155 of file call_main.hpp.
| #define CALL_PARAMS_8 CALL_PARAMS_7, a8 |
Definition at line 156 of file call_main.hpp.
| #define CALL_PARAMS_9 CALL_PARAMS_8, a9 |
Definition at line 157 of file call_main.hpp.
| #define GET_ARG | ( | num | ) |
Definition at line 105 of file call_main.hpp.
| #define PRIMITIVE_CAT | ( | a, | |
| ... | |||
| ) | a##__VA_ARGS__ |
Definition at line 113 of file call_main.hpp.
| #define STORE_ARG | ( | num | ) |
Definition at line 128 of file call_main.hpp.
| #define STORES | ( | x | ) | PRIMITIVE_CAT(STORES_, x) |
Definition at line 135 of file call_main.hpp.
| #define STORES_0 |
Definition at line 136 of file call_main.hpp.
| #define STORES_1 STORE_ARG(1); |
Definition at line 137 of file call_main.hpp.
Definition at line 138 of file call_main.hpp.
Definition at line 139 of file call_main.hpp.
Definition at line 140 of file call_main.hpp.
Definition at line 141 of file call_main.hpp.
Definition at line 142 of file call_main.hpp.
Definition at line 143 of file call_main.hpp.
Definition at line 144 of file call_main.hpp.
Definition at line 145 of file call_main.hpp.