N-BodyShop / changa

UIUC/PPL version of ChaNGa
http://hpcc.astro.washington.edu/tools/changa.html
GNU General Public License v2.0
44 stars 28 forks source link

Clean up bookkeeping of DataManager::registeredTreePieces #165

Open trquinn opened 9 months ago

trquinn commented 9 months ago

There are a few #ifdef CUDAs around the cleanup of registeredTreepieces---a vector of treepieces on each node. This information could be useful elsewhere (e.g. the TreePieceReplica code) so all these CUDA ifdefs could be removed and the cleanup done in one place. I suggest the start of Main::buildTree().