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 a8dcc96 commit cfbf2b6Copy full SHA for cfbf2b6
sycl/include/CL/sycl/handler.hpp
@@ -150,8 +150,8 @@ typename std::enable_if<std::is_same<T, range<Dims>>::value ||
150
std::is_same<T, id<Dims>>::value>::type
151
checkValueRange(const T &V) {
152
#if defined(__SYCL_ID_QUERIES_FIT_IN_INT__)
153
- static constexpr size_t Limit = static_cast<size_t>(
154
- std::numeric_limits<int>::max());
+ static constexpr size_t Limit =
+ static_cast<size_t>(std::numeric_limits<int>::max());
155
for (size_t Dim = 0; Dim < Dims; ++Dim)
156
if (V[Dim] > Limit)
157
throw runtime_error(NotIntMsg<T>::Msg, PI_INVALID_VALUE);
0 commit comments