warp.Float#
- warp.Float#
Generic annotation for any Warp floating-point scalar type.
Use
Floatto annotate parameters of generic Warp kernels and functions, either directly or as thedtypeof a generic array, vector, or matrix.Floatmatches the following floating-point types:Use
Scalarto accept both integer and floating-point types.For more on writing generic kernels and functions with
Float, see Generic Type Annotations.