Celeritas
0.5.0-56+6b053cd
|
Include CUDA or HIP runtime APIs for compiling with host/cc compiler. More...
#include "corecel/Config.hh"
Macros | |
#define | CELER_EU_PER_CU 0 |
Execution units per compute unit. More... | |
Variables | |
int | CorecelDeviceRuntimeApiHh |
Declare a dummy variable to be referenced in disabled CELER_BLAH calls. More... | |
Include CUDA or HIP runtime APIs for compiling with host/cc compiler.
#define CELER_EU_PER_CU 0 |
Execution units per compute unit.
AMD multiprocessors each have 4 SIMD units per compute unit, but there is no device attribute or compiler definition that provides this information. For CUDA, each streaming multiprocessor (MP) is a single "execution unit" and a "compute unit".
|
extern |
Declare a dummy variable to be referenced in disabled CELER_BLAH
calls.
With this declaration, the build will fail if this include is missing. (Unfortunately, since the use of this symbol is embedded in a macro, IWYU won't include this file automatically.)