tvm_tirx.ir.prim.clz

Contents

tvm_tirx.ir.prim.clz#

tvm_tirx.ir.prim.clz(x)#

Count leading zero bits of an integer x.

Parameters:

x (Expr) – Input 32 or 64 bit integer. The result is undefined if the input is 0.

Returns:

y (Expr) – The result.