![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include <Acc.hpp>
Public Member Functions | |
| constexpr | Acc (Acc &&)=delete |
| constexpr | Acc (Acc const &)=delete |
| constexpr | Acc (T_Storage const &storage) |
| constexpr auto | getApi () const |
| constexpr auto | getDeviceKind () const |
| constexpr auto | getExecutor () const |
| constexpr alpaka::concepts::Vector auto | getExtentsOf (concepts::Origin auto origin, concepts::Unit auto unit) const |
| Get the n-dimensional extents of an origin in the quantity of the selected unit. | |
| constexpr alpaka::concepts::Vector auto | getIdxWithin (concepts::Origin auto origin, concepts::Unit auto unit) const |
| Get the n-dimensional indices within the origin in the quantity of the selected unit. | |
| constexpr Acc & | operator= (Acc &&)=delete |
| constexpr Acc & | operator= (Acc const &)=delete |
Static Public Member Functions | |
| static constexpr uint32_t | getWarpSize () |
| Get the warp size. | |
| static constexpr bool | hasKey (auto key) |
| static constexpr bool | launchedWithFrameSpec () |
| Check if a frame spec was used to enqueue the kernel. | |
|
inlineconstexpr |
|
constexprdelete |
|
constexprdelete |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |
Get the warp size.
To be able to use the warp size as constexpr value you must call the static function via the type Acc_t::getWarpSize() else the warp size can only be used as runtime value. Alternative you can use the free function onAcc::warp::getSize<Acc_t>();
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
Check if a frame spec was used to enqueue the kernel.
To be able to use the result as constexpr value you must call the static function via the type Acc_t::launchedWithFrameSpec() else the warp size can only be used as runtime value.
If the kernel was enqueued via a frame specification the thread specification to within the kernel can differ, the number of thread block is not necessarily equal to the number of frames and the thread block extent is not necessarily equal to the frame extents.
|
constexprdelete |
|
constexprdelete |