Comment on Did any processor implement an integer square root instruction?parentComments−winwang2yFun fact, FFS (and its generalization, FNS) is in CUDA: https://docs.nvidia.com/cuda/cuda-math-api/index.html#group_...Another nice CUDA hardware intrinsic I like is log2.
Comments
Fun fact, FFS (and its generalization, FNS) is in CUDA: https://docs.nvidia.com/cuda/cuda-math-api/index.html#group_...
Another nice CUDA hardware intrinsic I like is log2.