ProblemSize

struct ProblemSize

3-dimensional vector that describes the dimensions of a compute-problem.

Public Functions

inline constexpr ProblemSize(uint32_t x = 1, uint32_t y = 1, uint32_t z = 1)

Constructor.

inline constexpr operator dim3() const

Convert this ProblemSize to a dim3.

inline constexpr uint32_t &operator[](size_t i)

Returns the i-th component.

inline constexpr const uint32_t &operator[](size_t i) const

Returns the i-th component.

Public Members

uint32_t x

X axis.

uint32_t y

Y axis.

uint32_t z

Z axis.