warp.experimental.cutile#

Experimental interop for calling Warp functions from kernels written in cuTile Python.

The cuTile interop API is experimental and subject to change without a formal deprecation cycle; it builds on cuTile preview interfaces that may change between CUDA Toolkit and cuTile Python releases. See the cuTile interoperability guide for the full contract.

API#

array_pointer_args

Return the (address, size, ...) values that pass a warp.array to a foreign function.

encode_struct

Return a Warp struct instance's bytes as a NumPy int32 array padded to a power-of-two length.

export_func

Package a Warp @warp.func as a cuTile foreign function (a .tilelib) callable inside @ct.kernel bodies.