Skip to main content

Module macros

Module macros 

Source
Expand description

Convenience macros for kernel launching.

The launch! macro provides a concise syntax for launching GPU kernels without manually constructing LaunchParams.

The named_args! macro provides a zero-overhead way to pass named kernel arguments — names are stripped at compile time, producing the same tuple as positional arguments with no runtime overhead.

The launch_named! macro combines named-argument syntax with the launch! convenience macro.