I am iterating over a large list with above 1 million elements inside a jitted function. I want to make use of the 128 CPU cores that my system has – how can I parallelise this loop to achieve greater efficiency? Currently it looks like only one core is being used to iterate through this list. Would using
prange do this? Or would I have to create my own multiprocessing Pool?
Any help would be appreciated,