Statically determine if N is a power-of-two. More...
Statically determine if N is a power-of-two.
Definition at line 155 of file util_type.cuh.
Public Types | |
enum | { VALUE = ((N & (N - 1)) == 0) } |
anonymous enum |
Definition at line 157 of file util_type.cuh.