Header file for common RAJA internal macro definitions.
More...
#include "RAJA/config.hpp"
#include <cstdlib>
#include <stdexcept>
#include <stdio.h>
Go to the source code of this file.
Header file for common RAJA internal macro definitions.
◆ RAJA_HOST_DEVICE
◆ RAJA_DEVICE
◆ RAJA_HOST
◆ RAJA_SUPPRESS_HD_WARN
| #define RAJA_SUPPRESS_HD_WARN |
◆ RAJA_INTERNAL_CLANG_HAS_BUILTIN
| #define RAJA_INTERNAL_CLANG_HAS_BUILTIN |
( |
|
x | ) |
0 |
◆ RAJA_UNUSED_ARG
| #define RAJA_UNUSED_ARG |
( |
|
x | ) |
|
◆ RAJA_DIVIDE_CEILING_INT
| #define RAJA_DIVIDE_CEILING_INT |
( |
|
dividend, |
|
|
|
divisor |
|
) |
| (((dividend) + (divisor) - 1) / (divisor)) |
◆ RAJA_DEPRECATE
| #define RAJA_DEPRECATE |
( |
|
Msg | ) |
__attribute__((deprecated(Msg))) |
Macros for marking deprecated features in RAJA.
To deprecate a function, place immediately before the return type To deprecate a member of a class or struct, place immediately before the declaration To deprecate a typedef, place immediately before the declaration. To deprecate a struct or class, place immediately after the 'struct'/'class' keyword
◆ RAJA_DEPRECATE_ALIAS
| #define RAJA_DEPRECATE_ALIAS |
( |
|
Msg | ) |
|
◆ RAJA_UNUSED_VAR()
◆ RAJA_ABORT_OR_THROW()
OpenMP helper for the new RAJA reducer interface. Used in forall and launch