2 ms·
I also found edge cases in parallel code. One loop that didn't have any invalid reads or writes segfaulted in a numba prange (eg. Openmp) loop. Just reimpleme
by VHRanger 7y ago
I also found edge cases in parallel code.
One loop that didn't have any invalid reads or writes segfaulted in a numba prange (eg. Openmp) loop.
Just reimplementing a loop as a few smaller subfunctions called sequentially worked.
No clue where the optimizer got confused on the 20 line loop body before it got split -- it's the same code.