File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -497,12 +497,12 @@ 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:
501- for (UBIGINT i = 0 ; i < M; i += CHUNKSIZE) // main loop over NU trgs, interp each from
502- // U
503- {
500+ #pragma omp for schedule(dynamic, 1000) // assign threads to NU targ pts:
501+ // main loop over NU trgs, interp each from U
502+ // (note: windows omp doesn't like unsigned loop vars)
503+ for (BIGINT i = 0 ; i < M; i += CHUNKSIZE) {
504504 // Setup buffers for this chunk
505- const auto bufsize = (i + CHUNKSIZE > M) ? M - i : CHUNKSIZE;
505+ const UBIGINT bufsize = (i + CHUNKSIZE > M) ? M - i : CHUNKSIZE;
506506 for (int ibuf = 0 ; ibuf < bufsize; ibuf++) {
507507 UBIGINT j = sort_indices[i + ibuf];
508508 jlist[ibuf] = j;
You can’t perform that action at this time.
0 commit comments