CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
Public Types | List of all members
cutlass::log2_up< N, CurrentVal, Count > Struct Template Reference

#include <fast_math.h>

Public Types

enum  { value = log2_up<N, (CurrentVal >> 1), Count + 1>::value }
 Static logarithm value. More...
 

Detailed Description

template<int N, int CurrentVal = N, int Count = 0>
struct cutlass::log2_up< N, CurrentVal, Count >

Statically determine log2(N), rounded up

Member Enumeration Documentation

template<int N, int CurrentVal = N, int Count = 0>
anonymous enum
Enumerator
value 

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