Open cncastillo opened 2 years ago
As it is right now, each call of the SimulationCore's functions allocates the objects in GPU memory.
Changing the functions to use AbstractArrays and allocate GPU memory one time in simulate should be the way to go.
simulate
A performance test should be done using NVIDIA Nsight Systems (Tutorial: https://www.youtube.com/watch?v=jqBHgix42AI)
As it is right now, each call of the SimulationCore's functions allocates the objects in GPU memory.
Changing the functions to use AbstractArrays and allocate GPU memory one time in
simulate
should be the way to go.