cuda::experimental::stf::pos4
Defined in include/cuda/experimental/__stf/utility/dimensions.cuh
-
class pos4
pos4 class defining a position within a multidimensional object (default value 0 in each axis)
Subclassed by cuda::experimental::stf::dim4
Public Functions
-
constexpr pos4() = default
-
template<typename Integral>
inline explicit constexpr pos4(Integral x, Integral y = 0, Integral z = 0, Integral t = 0) Create a pos4 from its coordinates.
-
inline constexpr int get(size_t axis_id) const
Get the position along a specific axis.
-
inline constexpr int operator()(int axis_id) const
Get the position along a specific axis.
-
constexpr pos4() = default