[ ] SLIC_CHECK should respect the axom::slic::debug::checksAreErrors flag
[ ] Support should be added for SLIC_ERROR*. This should respect the slic::isAbortOnErrorsEnabled() flag
[ ] Support should be added for SLIC_WARNING*. This should respect the slic::isAbortOnWarningsEnabled() flag
[ ] We should consider how we can support the *_MSG variants of the slic macros. E.g. perhaps we cannot support the full ostream operator within these messsages, but we might be able to support a simpler printf-style output
[ ] We should consider if/how we can support simple message output (e.g. via SLIC_INFO) within kernels. One idea would be to just printf the message. The team has discussed another idea brought up by a user to have errors trigger predefined message (currently tracked by JIRA issue ATK-1299).
A recent PR (https://github.com/LLNL/axom/pull/156) adds preliminary support for
slic
macros whenaxom
is configured withcuda
support.Specifically, it converts all calls to
SLIC_ASSERT*
andSLIC_CHECK*
to a CUDAassert
, and drops the message.There are several improvements/upgrades that we should consider adding in the near future:
slic
macros in different spaces (host vs. device) and configurations (e.g. raja, cuda, openmp, ...)SLIC_CHECK
should respect theaxom::slic::debug::checksAreErrors
flagSLIC_ERROR*
. This should respect theslic::isAbortOnErrorsEnabled()
flagSLIC_WARNING*
. This should respect theslic::isAbortOnWarningsEnabled()
flag*_MSG
variants of theslic
macros. E.g. perhaps we cannot support the fullostream
operator within these messsages, but we might be able to support a simplerprintf
-style outputSLIC_INFO
) within kernels. One idea would be to justprintf
the message. The team has discussed another idea brought up by a user to have errors trigger predefined message (currently tracked by JIRA issue ATK-1299).