Fix pSync buffer initialization in IPC(#180)

- Initialize the entire pSync buffer with the default synchronization value
This commit is contained in:
Avinash Kethineedi
2025-06-30 13:38:24 -05:00
committato da GitHub
parent e2bae5131a
commit 6dba253890
+1 -1
Vedi File
@@ -454,7 +454,7 @@ void IPCBackend::rocshmem_collective_init() {
/*
* Initialize the barrier synchronization array with default values.
*/
for (int i = 0; i < num_pes; i++) {
for (int i = 0; i < ROCSHMEM_BARRIER_SYNC_SIZE; i++) {
barrier_sync[i] = ROCSHMEM_SYNC_VALUE;
}