WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Invalid Test Cases in AtomicTest #587

@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