noma / ham

Heterogeneous Active Messages C++ library
Boost Software License 1.0
21 stars 6 forks source link

Memory fences around accesses to SHM located on VH. #19

Closed efocht closed 5 years ago

efocht commented 5 years ago

This should make accessing shared memory segments on VH through lhm/shm instructions more safe. The fence instruction makes sure that either all load or all store operations are finished / waited for when the instruction execution is finished.