Skip to content

Commit

Permalink
[arcane,materials] Utilise la synchronisation explicite pour mettre à…
Browse files Browse the repository at this point in the history
… jour les constituants modifiés.
  • Loading branch information
grospelliergilles committed Oct 14, 2024
1 parent c82a743 commit 5cda509
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arcane/src/arcane/materials/IncrementalComponentModifier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ apply(MaterialModifierOperation* operation)
{
m_work_info.m_is_materials_modified.fillHost(false);
m_work_info.m_is_environments_modified.fillHost(false);
m_work_info.m_is_materials_modified.sync(is_device);
m_work_info.m_is_environments_modified.sync(is_device);

{
auto mat_modifier = m_work_info.m_is_materials_modified.modifier(is_device);
Expand Down

0 comments on commit 5cda509

Please sign in to comment.