Skip to content

Bronek/wg21-p0493

Repository files navigation

Atomic maximum/minimum

Paper P0493 for WG21

Authors: Al Grant (al.grant@arm.com), Bronek Kozicki (brok@spamcop.net), Tim Northover (tnorthover@apple.com)

Audience: SG1, LEWG

Branches

Each rev* branch corresponds to a different revision of this paper. The most recet published revision is 4, which is in branch rev4.

Benchmark results may not be comparable between branches

Directory structure

  • bench finds maximum value from a series generated by a PRNG
  • D0493D5.md actual editable proposal text (unpublished draft)
  • D0493D5.pdf generated with https://github.com/mpark/wg21 (thanks Michael Park !)
  • fetch_max.hpp different implementations of atomic_fetch_max_explicit, as measured in benchmarks

Note, the default architecture for benchmarks is not Intel x86_64, as to our knowledge this architecture does not implement atomic fetch_max in hardware; instead it is ARMv8.1 ; to build the benchmarks on Intel you will need to set MARCH env. variable, e.g.

cd bench; MARCH=core2 make

About

Atomic maximum/minimum, WG21 paper P0493

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published