warp.constant#

warp.constant(x)[source]#

Function to declare compile-time constants accessible from Warp kernels

Parameters:

x – Compile-time constant value, can be any of the built-in math types.