alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
WorkerGroup.hpp File Reference
#include "alpaka/mem/ThreadSpace.hpp"
#include "alpaka/onAcc/internal/interface.hpp"
#include "alpaka/onAcc/tag.hpp"
#include "alpaka/tag.hpp"
#include <cstdint>

Go to the source code of this file.

Classes

struct  alpaka::onAcc::MultiDimensional< T_multiDimensional >
struct  alpaka::onAcc::WorkerGroup< T_ThreadIdxOrOrigin, T_NumThreadsOrUnit, T_MultiDimensional >

Namespaces

namespace  alpaka
 main alpaka namespace.
namespace  alpaka::onAcc
 functionality which is usable on the accelerator compute device from within a kernel.
namespace  alpaka::onAcc::worker

Variables

constexpr auto alpaka::onAcc::worker::allThreads = WorkerGroup{origin::thread, unit::threads}
 Represent the identity of the executor thread.
constexpr auto alpaka::onAcc::worker::blocksInGrid = WorkerGroup{origin::grid, unit::blocks}
constexpr auto alpaka::onAcc::worker::linearBlocksInGrid = WorkerGroup{origin::grid, unit::blocks, linearized}
constexpr auto alpaka::onAcc::linearized = MultiDimensional<false>{}
constexpr auto alpaka::onAcc::worker::linearThreadsInBlock = WorkerGroup{origin::block, unit::threads, linearized}
constexpr auto alpaka::onAcc::worker::linearThreadsInGrid = WorkerGroup{origin::grid, unit::threads, linearized}
constexpr auto alpaka::onAcc::worker::linearThreadsInWarp = WorkerGroup{origin::warp, unit::threads}
 Representation of all threads in a warp as a linearized worker group.
constexpr auto alpaka::onAcc::worker::linearWarpsInBlock = WorkerGroup{origin::block, unit::warps}
 Representation of all warps in a thread block as a linearized worker group.
constexpr auto alpaka::onAcc::worker::linearWarpsInGrid = WorkerGroup{origin::grid, unit::warps}
 Representation of all warps in the grid as a linearized worker group.
constexpr auto alpaka::onAcc::worker::threadsInBlock = WorkerGroup{origin::block, unit::threads}
constexpr auto alpaka::onAcc::worker::threadsInGrid = WorkerGroup{origin::grid, unit::threads}