parallelize another outer loop in the main calculation on the CUDA version
parallelize another outer loop in the main calculation on the CUDA version

jhurt/slotmath,jhurt/slotmath,jhurt/slotmath,jhurt/slotmath