Skip to content

Commit 53851ca

Browse files
committed
rearranging for clarity
1 parent a3f4cec commit 53851ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spreadinterp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ FINUFFT_NEVER_INLINE static int interpSorted_kernel(
497497
auto *FINUFFT_RESTRICT ker3 = kernel_values.data() + 2 * MAX_NSPREAD;
498498

499499
// Loop over interpolation chunks
500-
#pragma omp for schedule(dynamic, 1000) // assign threads to NU targ pts:
501500
// main loop over NU trgs, interp each from U
502501
// (note: windows omp doesn't like unsigned loop vars)
502+
#pragma omp for schedule(dynamic, 1000) // assign threads to NU targ pts:
503503
for (BIGINT i = 0; i < M; i += CHUNKSIZE) {
504504
// Setup buffers for this chunk
505505
const UBIGINT bufsize = (i + CHUNKSIZE > M) ? M - i : CHUNKSIZE;

0 commit comments

Comments
 (0)