set the barrier_sync variable on the context during object creation [ROCm/rocshmem commit: aae6295460]
aae6295460