NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
mgpu::sLogPow2< X, roundUp > Struct Template Reference

Detailed description

template< int X, bool roundUp = true>
struct mgpu::sLogPow2< X, roundUp >

Definition at line 87 of file static.h.

#include <static.h>

Public Types

enum  { extra = sIsPow2<X>::value ? 0 : (roundUp ? 1 : 0) }
 
enum  { inner = sLogPow2<X / 2>::inner + 1 }
 
enum  { value = inner + extra }
 

Member Enumeration Documentation

template<int X, bool roundUp = true>
anonymous enum
Enumerator
extra 

Definition at line 88 of file static.h.

template<int X, bool roundUp = true>
anonymous enum
Enumerator
inner 

Definition at line 89 of file static.h.

template<int X, bool roundUp = true>
anonymous enum
Enumerator
value 

Definition at line 90 of file static.h.


The documentation for this struct was generated from the following file: