warp.Int#

warp.Int#

Generic annotation for any Warp integer scalar type.

Use Int to annotate parameters of generic Warp kernels and functions, either directly or as the dtype of a generic array, vector, or matrix. Int matches the following integer types:

Use Scalar to accept both integer and floating-point types.

For more on writing generic kernels and functions with Int, see Generic Type Annotations.