64 static constexpr Int64 LastExtent =
K;
66 static ARCCORE_HOST_DEVICE
constexpr Int64
69 return (extent2 * idx[I]) + (extent1*idx[
J]) + idx.asInt64(
K);
72 template<
typename ExtentType>
static ARCCORE_HOST_DEVICE
constexpr Int64
73 computeOffsetIndexes(
const ExtentType& extents)
78 static constexpr std::array<Int32,3> layoutInfo() {
return { I,
J,
K }; }
80 static constexpr ARCCORE_HOST_DEVICE Int32 layout0() {
return I; }
81 static constexpr ARCCORE_HOST_DEVICE Int32 layout1() {
return J; }
82 static constexpr ARCCORE_HOST_DEVICE Int32 layout2() {
return K; }