Skip to content

Commit 7cba4a5

Browse files
committed
remove unnecessary parentheses
1 parent 08edd13 commit 7cba4a5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sycl/plugins/cuda/pi_cuda.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,9 @@ void guessLocalWorkSize(size_t *threadsPerBlock, const size_t *global_work_size,
259259

260260
(void)minGrid; // Not used, avoid warnings
261261

262-
threadsPerBlock[0] =
263-
std::min((maxThreadsPerBlock[0]),
264-
std::min((global_work_size[0]),
265-
static_cast<size_t>(recommendedBlockSize)));
262+
threadsPerBlock[0] = std::min(
263+
maxThreadsPerBlock[0],
264+
std::min(global_work_size[0], static_cast<size_t>(recommendedBlockSize)));
266265

267266
// Find a local work group size that is a divisor of the global
268267
// work group size to produce uniform work groups.

0 commit comments

Comments
 (0)