A number of steps within the light simulation are significantly slower than they could be because the LUT, the track segments array, and the light incidence data are all numpy structured arrays which are copied to the GPU on each execution. We would be better off pre-allocating these things.
A number of steps within the light simulation are significantly slower than they could be because the LUT, the track segments array, and the light incidence data are all numpy structured arrays which are copied to the GPU on each execution. We would be better off pre-allocating these things.