framework icon indicating copy to clipboard operation
framework copied to clipboard

To port `MeshMaterialSynchronizer::synchronizeMaterialsInCells()` with the accelerator API

Open DavidDureau opened this issue 1 year ago • 1 comments

Is it possible to port the synchronizeMaterialsInCells() with the accelerator API?

Indeed, when a code is running with AcceleratorRuntime=cuda, then the main part of synchronizeMaterialsInCells() is running on CPU and the mat_presence.synchronize() is "running" on GPU, which implies H<->D transfers.

We have ported the same kind of algorithm in a code so we have an example.

DavidDureau avatar Feb 05 '24 16:02 DavidDureau

Yes it is possible. I add it to the TODO list.

grospelliergilles avatar Feb 05 '24 17:02 grospelliergilles