My kernel and host functions became quite messy and could be worked over to improve readability.
What could be done:
Restructure all functions to be consistent. This should be in the order of
1) SettingsMain, 2) MapStack, 3) TCudaGrid2D, 4) Grid variables, 5) FFT stuff, 6) the rest
Shorten function inputs, this could be done by bundling up stuff.
My kernel and host functions became quite messy and could be worked over to improve readability.
What could be done: Restructure all functions to be consistent. This should be in the order of 1) SettingsMain, 2) MapStack, 3) TCudaGrid2D, 4) Grid variables, 5) FFT stuff, 6) the rest
Shorten function inputs, this could be done by bundling up stuff.