AGBV / YASF

Yet Another Scattering Framework python implementation
https://agbv.github.io/YASF/
MIT License
0 stars 0 forks source link

Slow scattering cross-section #56

Open arunoruto opened 6 months ago

arunoruto commented 6 months ago

The current implementation of the scattering cross-section is relatively slow on the GPU. This is due to the numba atomic add operator aggregating the values in a matrix. If another thread wants to access the current index, it needs to be checked if another thread has priority. This slows things down.