Per-element atomicity of vector load/store and gather/scatter?

后端 未结 0 1932
北恋
北恋 2020-11-28 14:22

Consider an array like atomic shared_array[]. What if you want to SIMD vectorize for(...) sum += shared_array[i].load(memory_order_relaxed

相关标签:
回答
  • 消灭零回复
提交回复
热议问题