Open jpmorgan98 opened 7 months ago
@ilhamv how urgent is you're need to move towards jitclass
?
@jpmorgan98 Per our discussion with Braxton yesterday, it sounds like it is easier for the GPU-Numba work, if we stick with the numpy structured array than if we move to use Jitclass, at least for now, perhaps until the first working GPU merge. But what do you think, @braxtoncuneo ?
Optimizations for how cross section data, tally meshes, and cells are stored. Right now with the
np.ndarry
the size of allocated memory for each item is that of the largest array and the same for all others.numba.jitclass
is a remedy for this but is not GPU operable. Some initial ideas arenumba.jitclass
with a puller function for GPU runs to nd.arrayspytorch
orcupy