RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Static Public Attributes | List of all members
RAJA::LogBase2< N > Struct Template Reference

#include <BitMask.hpp>

Static Public Attributes

static constexpr camp::idx_t value = LogBase2<(N >> 1)>::value + 1
 
static constexpr bool is_exact = ((1 << value) == N)
 

Member Data Documentation

◆ value

template<camp::idx_t N>
constexpr camp::idx_t RAJA::LogBase2< N >::value = LogBase2<(N >> 1)>::value + 1
staticconstexpr

◆ is_exact

template<camp::idx_t N>
constexpr bool RAJA::LogBase2< N >::is_exact = ((1 << value) == N)
staticconstexpr

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