CUB
Main Page
Modules
Classes
Examples
Class List
Class Index
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
cub
PowerOfTwo
Public Types
|
List of all members
cub::PowerOfTwo< N > Struct Template Reference
Utilities
Detailed description
template< int N>
struct cub::PowerOfTwo< N >
Statically determine if N is a power-of-two.
Definition at line
149
of file
util_type.cuh
.
Public Types
enum
{
VALUE
= ((N & (N - 1)) == 0) }
The documentation for this struct was generated from the following file:
util_type.cuh
Generated on Mon Dec 28 2015 12:57:58 for CUB by
1.8.4
© 2013 NVIDIA Corporation