warp.struct#
- warp.struct(c, *, module=None)[source]#
Decorator to define a Warp struct for use in kernels and functions.
Structs allow grouping related data fields that can be passed to
@warp.kerneland@warp.funcdecorated functions.
Decorator to define a Warp struct for use in kernels and functions.
Structs allow grouping related data fields that can be passed to
@warp.kernel and @warp.func decorated functions.