Skip to content

Invalid Test Cases in AtomicTest #587

Open
@rkowalewski

Description

@rkowalewski

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.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions