Skip to content

Commit cfbf2b6

Browse files
author
Sergey Kanaev
committed
[SYCL] Fix style issues
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent a8dcc96 commit cfbf2b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/include/CL/sycl/handler.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ typename std::enable_if<std::is_same<T, range<Dims>>::value ||
150150
std::is_same<T, id<Dims>>::value>::type
151151
checkValueRange(const T &V) {
152152
#if defined(__SYCL_ID_QUERIES_FIT_IN_INT__)
153-
static constexpr size_t Limit = static_cast<size_t>(
154-
std::numeric_limits<int>::max());
153+
static constexpr size_t Limit =
154+
static_cast<size_t>(std::numeric_limits<int>::max());
155155
for (size_t Dim = 0; Dim < Dims; ++Dim)
156156
if (V[Dim] > Limit)
157157
throw runtime_error(NotIntMsg<T>::Msg, PI_INVALID_VALUE);

0 commit comments

Comments
 (0)