Celeritas
0.5.0-56+6b053cd
|
#include <cstddef>
#include <string_view>
#include "corecel/DeviceRuntimeApi.hh"
#include "corecel/Assert.hh"
#include "corecel/Macros.hh"
#include "corecel/OpaqueId.hh"
#include "corecel/Types.hh"
#include "corecel/math/Algorithms.hh"
#include "Device.hh"
#include "KernelAttributes.hh"
#include "ThreadId.hh"
Classes | |
class | celeritas::KernelParamCalculator |
Kernel management helper functions. More... | |
struct | celeritas::KernelParamCalculator::LaunchParams |
Parameters needed for a CUDA lauch call. More... | |
Macros | |
#define | CELER_LAUNCH_KERNEL(NAME, THREADS, STREAM, ...) |
Create a kernel param calculator with the given kernel, assuming the function itself has a _kernel suffix, and launch with the given block/thread sizes and arguments list. More... | |
#define | CELER_LAUNCH_KERNEL_TEMPLATE_1(NAME, T1, THREADS, STREAM, ...) |
Create a kernel param calculator with the given kernel with one template parameter, assuming the unction itself has a _kernel suffix, and launch with the given block/thread sizes and arguments list. More... | |
#define | CELER_LAUNCH_KERNEL_IMPL(KERNEL, GRID, BLOCK, SHARED, STREAM, ...) |
#define CELER_LAUNCH_KERNEL | ( | NAME, | |
THREADS, | |||
STREAM, | |||
... | |||
) |
Create a kernel param calculator with the given kernel, assuming the function itself has a _kernel
suffix, and launch with the given block/thread sizes and arguments list.
#define CELER_LAUNCH_KERNEL_IMPL | ( | KERNEL, | |
GRID, | |||
BLOCK, | |||
SHARED, | |||
STREAM, | |||
... | |||
) |
#define CELER_LAUNCH_KERNEL_TEMPLATE_1 | ( | NAME, | |
T1, | |||
THREADS, | |||
STREAM, | |||
... | |||
) |
Create a kernel param calculator with the given kernel with one template parameter, assuming the unction itself has a _kernel
suffix, and launch with the given block/thread sizes and arguments list.