We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e334ad8 commit fa31f52Copy full SHA for fa31f52
sycl/include/CL/sycl/id.hpp
@@ -96,7 +96,7 @@ template <int dimensions = 1> class id : public detail::array<dimensions> {
96
* conversion:
97
* int a = id<1>(value); */
98
99
- operator EnableIfT<(dimensions == 1), size_t>() const {
+ ALWAYS_INLINE operator EnableIfT<(dimensions == 1), size_t>() const {
100
size_t Result = this->common_array[0];
101
__SYCL_ASSUME_INT(Result);
102
return Result;
0 commit comments