#include <jitify.hpp>
|
| KernelLauncher (KernelInstantiation const *kernel_inst, dim3 grid, dim3 block, unsigned int smem=0, cudaStream_t stream=0) |
|
CUresult | launch (std::vector< void * > arg_ptrs={}, std::vector< std::string > arg_types={}) const |
|
void | safe_launch (std::vector< void * > arg_ptrs={}, std::vector< std::string > arg_types={}) const |
|
template<typename... ArgTypes> |
CUresult | launch (const ArgTypes &... args) const |
|
template<typename... ArgTypes> |
void | safe_launch (const ArgTypes &... args) const |
|
◆ KernelLauncher()
jitify::experimental::KernelLauncher::KernelLauncher |
( |
KernelInstantiation const * |
kernel_inst, |
|
|
dim3 |
grid, |
|
|
dim3 |
block, |
|
|
unsigned int |
smem = 0 , |
|
|
cudaStream_t |
stream = 0 |
|
) |
| |
|
inline |
◆ launch() [1/2]
template<typename... ArgTypes>
CUresult jitify::experimental::KernelLauncher::launch |
( |
const ArgTypes &... |
args | ) |
const |
|
inline |
Launch the kernel.
- Parameters
-
args | Function arguments for the kernel. |
References launch().
◆ launch() [2/2]
CUresult jitify::experimental::KernelLauncher::launch |
( |
std::vector< void * > |
arg_ptrs = {} , |
|
|
std::vector< std::string > |
arg_types = {} |
|
) |
| const |
|
inline |
Launch the kernel.
- Parameters
-
arg_ptrs | A vector of pointers to each function argument for the kernel. |
arg_types | A vector of function argument types represented as code-strings. This parameter is optional and is only used to print out the function signature. |
Referenced by launch().
◆ safe_launch() [1/2]
template<typename... ArgTypes>
void jitify::experimental::KernelLauncher::safe_launch |
( |
const ArgTypes &... |
args | ) |
const |
|
inline |
Launch the kernel and check for cuda errors.
- Parameters
-
args | Function arguments for the kernel. |
References safe_launch().
◆ safe_launch() [2/2]
void jitify::experimental::KernelLauncher::safe_launch |
( |
std::vector< void * > |
arg_ptrs = {} , |
|
|
std::vector< std::string > |
arg_types = {} |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file:
- /nebulastream/nes-runtime/include/Util/jitify/jitify.hpp