![]() |
Block-Structured AMR Software Framework
|
Assertions for GPU device code. More...
#include <AMReX_Config.H>#include <cassert>Go to the source code of this file.
Macros | |
| #define | AMREX_DEVICE_ASSERT(flag) assert(flag) |
Assert flag in CUDA, HIP, or SYCL device code. | |
Assertions for GPU device code.
| #define AMREX_DEVICE_ASSERT | ( | flag | ) | assert(flag) |
Assert flag in CUDA, HIP, or SYCL device code.
The macro maps to assert and is defined only for those GPU backends on non-Apple platforms.