Skip to content

Commit

Permalink
fix hardware interferece values
Browse files Browse the repository at this point in the history
  • Loading branch information
kelbon committed Mar 26, 2024
1 parent 4e0ff03 commit 5e349fd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@

namespace dd {

#ifdef __cpp_lib_hardware_interference_size
using std::hardware_constructive_interference_size;
using std::hardware_destructive_interference_size;
#else
constexpr std::size_t hardware_constructive_interference_size = 64;
constexpr std::size_t hardware_destructive_interference_size = 64;
#endif

struct not_movable {
constexpr not_movable() noexcept = default;
Expand Down

0 comments on commit 5e349fd

Please sign in to comment.