|
MU Library
|
#include "mu/crt0/call_main.hpp"

Go to the source code of this file.
Classes | |
| struct | mu::KernelInfo |
Namespaces | |
| mu | |
Macros | |
| #define | MU_NON_BLOCKING_KERNEL_INIT(FUNC) |
| Registers a non-blocking kernel function. More... | |
| #define | _MU_CONCAT(a, b) a##b |
| #define | MU_CONCAT(a, b) _MU_CONCAT(a, b) |
| #define | MU_KERNEL_DEFINE(TARGET, ID) |
| Macro for generating kernel wrapper (especially for kernel template) More... | |
| #define | MU_KERNEL_ADD(FUNC) MU_KERNEL_DEFINE(FUNC, FUNC) |
| Adds a kernel function to the MU runtime. More... | |
| #define | __pxl_kernel__ [[clang::annotate("mu::offload")]] |
| annotation for kernel entry functions, templates More... | |
| #define | __mu_shared__ [[clang::annotate("mu::share")]] |
| annotation for declarations shared across host and mu devices More... | |
| #define | __mu_device__ [[clang::annotate("mu::device")]] |
| annotation for declarations exclusively for mu devices More... | |
| #define __mu_device__ [[clang::annotate("mu::device")]] |
annotation for declarations exclusively for mu devices
Definition at line 77 of file kernel.hpp.
| #define __mu_shared__ [[clang::annotate("mu::share")]] |
annotation for declarations shared across host and mu devices
Definition at line 70 of file kernel.hpp.
| #define __pxl_kernel__ [[clang::annotate("mu::offload")]] |
annotation for kernel entry functions, templates
Definition at line 63 of file kernel.hpp.
| #define _MU_CONCAT | ( | a, | |
| b | |||
| ) | a##b |
Definition at line 29 of file kernel.hpp.
| #define MU_CONCAT | ( | a, | |
| b | |||
| ) | _MU_CONCAT(a, b) |
Definition at line 32 of file kernel.hpp.
| #define MU_KERNEL_ADD | ( | FUNC | ) | MU_KERNEL_DEFINE(FUNC, FUNC) |
Adds a kernel function to the MU runtime.
| FUNC | The function to be registered as a kernel |
Definition at line 56 of file kernel.hpp.
| #define MU_KERNEL_DEFINE | ( | TARGET, | |
| ID | |||
| ) |
Macro for generating kernel wrapper (especially for kernel template)
| TARGET | function name or template instance (ex: sort_with_ptr<int>) |
| ID | unique name for c identifier (ex: _Z4sortIiEvPi) |
Definition at line 41 of file kernel.hpp.
| #define MU_NON_BLOCKING_KERNEL_INIT | ( | FUNC | ) |
Registers a non-blocking kernel function.
| FUNC | The function to be registered as a non-blocking kernel |
Definition at line 22 of file kernel.hpp.