Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To port MeshMaterialSynchronizer::synchronizeMaterialsInCells() with the accelerator API #1168

Open
DavidDureau opened this issue Feb 5, 2024 · 1 comment
Labels
arcane:accelerator Arcane Accelerator API/Runtime arcane:materials Management of Constituents (Material/Environment) arcane Arcane Component enhancement New feature or request

Comments

@DavidDureau
Copy link
Collaborator

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.

@grospelliergilles
Copy link
Member

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

@grospelliergilles grospelliergilles added enhancement New feature or request arcane Arcane Component arcane:accelerator Arcane Accelerator API/Runtime arcane:materials Management of Constituents (Material/Environment) labels Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arcane:accelerator Arcane Accelerator API/Runtime arcane:materials Management of Constituents (Material/Environment) arcane Arcane Component enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants