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

Classes

struct  Contiguous
 Indices will be contiguous within each dimension for each worker thread. More...
struct  Optimized
 The index layout will automatically selected based on the executor. More...
struct  Strided
 Generates indices scattered based on the number of worker threads for each dimension. More...

Variables

constexpr auto contiguous = Contiguous{}
constexpr auto optimized = Optimized{}
constexpr auto strided = Strided{}

Variable Documentation

◆ contiguous

auto alpaka::onAcc::layout::contiguous = Contiguous{}
constexpr

Definition at line 23 of file layout.hpp.

◆ optimized

auto alpaka::onAcc::layout::optimized = Optimized{}
constexpr

Definition at line 30 of file layout.hpp.

◆ strided

auto alpaka::onAcc::layout::strided = Strided{}
constexpr

Definition at line 16 of file layout.hpp.