holoscan::CudaFunctionLauncher
holoscan::CudaFunctionLauncher
This class is used to compile the provided CUDA source code and call kernel functions defined by that code.
Constructors
CudaFunctionLauncher
Construct a new CudaFunctionLauncher object.
Parameters
source
Pointer to source code
functions
List of functions defined by the source code.
options
Options to pass to the compiler
Destructor
~CudaFunctionLauncher
Methods
launch
Const
Const (with block)
Launch a kernel on a grid.
Parameters
grid
[in] grid size
stream
[in] stream
args
[in] kernel arguments (optional)