libdevice User's Guide
(PDF)
-
CUDA Toolkit v5.5
(older)
-
Last updated
July 19, 2013
-
Send Feedback
3.23. __nv_clz
Prototype:
i32 @__nv_clz(i32 %x)
Description:
Count the number of consecutive leading zero bits, starting at the most significant bit (bit 31) of x.
Returns:
Returns a value between 0 and 32 inclusive representing the number of zero bits.
Library Availability:
Compute 2.0: Yes
Compute 3.0: Yes
Compute 3.5: Yes
libdevice User's Guide
(PDF)
-
CUDA Toolkit v5.5
(older)
-
Last updated
July 19, 2013
-
Send Feedback