alpaka
Abstraction Library for Parallel Kernel Acceleration
ElementIndex.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
alpaka
4
{
5
6
/* ElementIndex
7
*
8
* An aggregate that containes the `.global` and `.local` indices of an element along a given dimension.
9
*/
10
11
template
<
typename
TIdx>
12
struct
ElementIndex
13
{
14
TIdx
global
;
// Index of the element along a given dimension, relative to the whole problem space.
15
TIdx
local
;
// Index of the element along a given dimension, relative to the current group.
16
};
17
18
}
// namespace alpaka
alpaka
The alpaka accelerator library.
Definition:
AccCpuOmp2Blocks.hpp:49
alpaka::ElementIndex
Definition:
ElementIndex.hpp:13
alpaka::ElementIndex::global
TIdx global
Definition:
ElementIndex.hpp:14
alpaka::ElementIndex::local
TIdx local
Definition:
ElementIndex.hpp:15
include
alpaka
exec
ElementIndex.hpp
Generated on Thu Oct 10 2024 14:33:44 for alpaka by
1.9.1