-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Our AtomicTest.cc test suite has two confusing unit tests:
The thing is that the used elem_t for dash::Atomic is a container with two value members. This does not satisfy the is_atomic_compatible trait. If we add the following line to both tests it cannot compile:
static_assert(dash::is_atomic_compatible<value_t>::value, "invalid type");
So what was the original purpose for this? It does not really make sense since this value type cannot be atomic, neither with MPI or in hardware.