![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include "alpaka/core/Config.hpp"Go to the source code of this file.
Macros | |
| #define | ALPAKA_UNREACHABLE(...) |
| Before CUDA 11.5 nvcc is unable to correctly identify return statements in 'if constexpr' branches. It will issue a false warning about a missing return statement unless it is told that the following code section is unreachable. | |
| #define ALPAKA_UNREACHABLE | ( | ... | ) |
Before CUDA 11.5 nvcc is unable to correctly identify return statements in 'if constexpr' branches. It will issue a false warning about a missing return statement unless it is told that the following code section is unreachable.
| x | A dummy value for the expected return type of the calling function. |
Definition at line 20 of file Unreachable.hpp.