Running code working with python, but not if using CUDA

Hello, I am a very new programmer and I’m attempting to run ISMC from this git repo
GitHub - pdcook/ISMC: Integrating Sphere Monte Carlo on my windows 10 machine. I installed CUDA using the download for my machine on this site. These codes will run with no issues using python, but running CUDA produces an “index out of range” error. How can I fix this?