pthreadpool
pthreadpool copied to clipboard
Avoid FPE in divide_round_up
Add assert to check divisor is not 0 in divide_round_up.
This can be triggered if tile_j or tile_k parameters of pthreadpool_parallelize_3d_tile_2d are zero.