LLNL / axom

CS infrastructure components for HPC applications
BSD 3-Clause "New" or "Revised" License
157 stars 27 forks source link

Improve SLIC macros when axom is configured with CUDA #178

Open kennyweiss opened 4 years ago

kennyweiss commented 4 years ago

A recent PR (https://github.com/LLNL/axom/pull/156) adds preliminary support for slic macros when axom is configured with cuda support.

Specifically, it converts all calls to SLIC_ASSERT* and SLIC_CHECK* to a CUDA assert, and drops the message.

There are several improvements/upgrades that we should consider adding in the near future:

rhornung67 commented 2 years ago

Slic macros are also not thread-safe for OpenMP. This should also be addressed.

rhornung67 commented 2 years ago

Thus requires more discussion and distillation of use cases, etc.