c3sr / comm_scope

NUMA-aware multi-CPU multi-GPU data transfer benchmarks
https://github.com/c3sr/scope
Apache License 2.0
21 stars 3 forks source link

sync should clobber memory #27

Closed cwpearson closed 5 years ago

cwpearson commented 5 years ago

https://github.com/c3sr/comm_scope/blob/48e1ce32b3f0f45faa68fda81b551f4f4822feab/src/utils/cache_control.hpp#L53-L57

Like in the linux kernel:

https://github.com/torvalds/linux/blob/edb0a20009363ae787bfe0d6fd52abb504f05113/arch/powerpc/include/asm/barrier.h#L36

cwpearson commented 5 years ago

Fixed in 004d90b00f6c65a7d143b3c87c507235bcc677a7