KomaMRI.jl icon indicating copy to clipboard operation
KomaMRI.jl copied to clipboard

Code refactoring and efficiency

Open cncastillo opened this issue 2 years ago • 1 comments

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.

  • [x] Change functions to use AbstractArrays
  • [x] #116
  • [x] #119
  • [ ] #126 Improve type stability (Looking at this could be helpful as well)
  • [x] #120
  • [ ] #121

cncastillo avatar Apr 24 '22 14:04 cncastillo