alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::detail::BlockSharedMemDynMemberStatic< TStaticAllocKiB > Struct Template Reference

"namespace" for static constexpr members that should be in BlockSharedMemDynMember but cannot be because having a static const member breaks GCC 10 OpenMP target: type not mappable. More...

#include <BlockSharedMemDynMember.hpp>

Static Public Attributes

static constexpr std::uint32_t staticAllocBytes = static_cast<std::uint32_t>(TStaticAllocKiB << 10u)
 Storage size in bytes. More...
 

Detailed Description

template<std::size_t TStaticAllocKiB>
struct alpaka::detail::BlockSharedMemDynMemberStatic< TStaticAllocKiB >

"namespace" for static constexpr members that should be in BlockSharedMemDynMember but cannot be because having a static const member breaks GCC 10 OpenMP target: type not mappable.

Definition at line 24 of file BlockSharedMemDynMember.hpp.

Member Data Documentation

◆ staticAllocBytes

template<std::size_t TStaticAllocKiB>
constexpr std::uint32_t alpaka::detail::BlockSharedMemDynMemberStatic< TStaticAllocKiB >::staticAllocBytes = static_cast<std::uint32_t>(TStaticAllocKiB << 10u)
staticconstexpr

Storage size in bytes.

Definition at line 27 of file BlockSharedMemDynMember.hpp.


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