Y
Hacker News
new
|
ask
|
show
|
jobs
by
danudey
247 days ago
The example I linked uses alignas, but the key is knowing what value to pass. std::hardware_destructive_interference_size tells you what the current/target hardware's correct align value is, which is the challenge.