alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onAcc::warp::internal Namespace Reference

Classes

struct  Activemask
 Retrieve a bit-mask describing which warp lanes are active. More...
struct  All
struct  Any
struct  Ballot
struct  GetLaneIdx
struct  GetWarpIdx
struct  Shfl
struct  ShflDown
struct  ShflUp
struct  ShflXor

Functions

constexpr uint32_t getLaneIdx (alpaka::onAcc::concepts::Acc auto const &acc)
 Return the lane index of the current thread within its warp.
template<alpaka::onAcc::concepts::Acc T_Acc>
constexpr uint32_t getSize ()
constexpr uint32_t getWarpIdx (alpaka::onAcc::concepts::Acc auto const &acc)
 Return the warp index within the block.

Function Documentation

◆ getLaneIdx()

uint32_t alpaka::onAcc::warp::internal::getLaneIdx ( alpaka::onAcc::concepts::Acc auto const & acc)
constexpr

Return the lane index of the current thread within its warp.

Definition at line 60 of file warp.hpp.

◆ getSize()

uint32_t alpaka::onAcc::warp::internal::getSize ( )
constexpr

Definition at line 27 of file warp.hpp.

◆ getWarpIdx()

uint32_t alpaka::onAcc::warp::internal::getWarpIdx ( alpaka::onAcc::concepts::Acc auto const & acc)
constexpr

Return the warp index within the block.

Definition at line 81 of file warp.hpp.