warp.get_module#
- warp.get_module(name)[source]#
Return or create the Warp module associated with a given name.
Each Warp module tracks kernels, functions, and structs defined within it. If the module does not exist, a new one is created.
- Parameters:
name (str) – Name of the module to retrieve or create.
- Returns:
The
Moduleobject associated with the given name.- Return type:
See also