You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][COMPAT] Add default ctor to dim3 and update tests/docs (#14347)
This PR adds a default constructor for `syclcompat::dim3`, and changes
the type of members `x`,`y`,`z` from `const size_t` to `unsigned int`.
The default constructor sets all 3 dimensions to `1`. This means
patterns like this are now possible:
```cpp
syclcompat::dim3 myDim3;
myDim3.x = 32;
```
---------
Signed-off-by: Joe Todd <[email protected]>
0 commit comments