cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

Add square-brackets element acces into `grid::dimensions_t` and `grid::overall_dimensions_t`

Open eyalroz opened this issue 1 year ago • 0 comments

It might be convenient for some users to treat grid::dimensions_t and grid::overall_dimensions_t as arrays of dimensions for the different axes. So, let's allow this via a (const and non-const) operator[].

eyalroz avatar Sep 01 '24 14:09 eyalroz