alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onHost::trait::BlockDynSharedMemBytes< T_Kernel, T_Spec > Struct Template Reference

#include <trait.hpp>

Public Member Functions

 BlockDynSharedMemBytes (T_Kernel kernel, T_Spec spec)
uint32_t operator() (auto const &... args) const
 Get amount of dynamic shared memory in bytes.

Detailed Description

template<typename T_Kernel, concepts::ThreadSpec T_Spec>
struct alpaka::onHost::trait::BlockDynSharedMemBytes< T_Kernel, T_Spec >

Definition at line 52 of file trait.hpp.

Constructor & Destructor Documentation

◆ BlockDynSharedMemBytes()

template<typename T_Kernel, concepts::ThreadSpec T_Spec>
alpaka::onHost::trait::BlockDynSharedMemBytes< T_Kernel, T_Spec >::BlockDynSharedMemBytes ( T_Kernel kernel,
T_Spec spec )
inline

Definition at line 54 of file trait.hpp.

Member Function Documentation

◆ operator()()

template<typename T_Kernel, concepts::ThreadSpec T_Spec>
uint32_t alpaka::onHost::trait::BlockDynSharedMemBytes< T_Kernel, T_Spec >::operator() ( auto const &... args) const
inline

Get amount of dynamic shared memory in bytes.

Attention
requires (false) is disabling the function if you specialize these traits remove the require statement. Disabling is required to enable the trait evaluation only in cases where the user is defining the trait.

Definition at line 65 of file trait.hpp.


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