CUB
1.16.0
Main Page
Modules
Classes
Examples
Class List
Class Index
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Public Types
|
List of all members
PowerOfTwo< N > Struct Template Reference
Utilities
Detailed description
template< int N>
struct PowerOfTwo< N >
Statically determine if N is a power-of-two.
Public Types
enum
{
VALUE
= ((N & (N - 1)) == 0) }
Member Enumeration Documentation
template<int N>
anonymous enum
Enumerator
VALUE
The documentation for this struct was generated from the following file:
util_type.cuh
Generated by
1.8.4
© 2022 NVIDIA Corporation