![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The trait for getting the size of the block shared dynamic memory of a kernel. More...
#include <Traits.hpp>
Static Public Member Functions | |
| template<typename TDim , typename... TArgs> | |
| ALPAKA_NO_HOST_ACC_WARNING static ALPAKA_FN_HOST_ACC auto | getBlockSharedMemDynSizeBytes (TKernelFnObj const &kernelFnObj, Vec< TDim, Idx< TAcc > > const &blockThreadExtent, Vec< TDim, Idx< TAcc > > const &threadElemExtent, TArgs const &... args) -> std::size_t |
The trait for getting the size of the block shared dynamic memory of a kernel.
| TKernelFnObj | The kernel function object. |
| TAcc | The accelerator. |
The default implementation returns 0.
Definition at line 46 of file Traits.hpp.
|
inlinestatic |
| kernelFnObj | The kernel object for which the block shared memory size should be calculated. |
| blockThreadExtent | The block thread extent. |
| threadElemExtent | The thread element extent. |
| TArgs | The kernel invocation argument types pack. |
| args,... | The kernel invocation arguments. |
Definition at line 65 of file Traits.hpp.