Fix pSync buffer initialization in IPC(#180)

- Initialize the entire pSync buffer with the default synchronization value

[ROCm/rocshmem commit: 6dba253890]
This commit is contained in:
Avinash Kethineedi
2025-06-30 13:38:24 -05:00
committed by GitHub
parent 9cb96eafdb
commit 63d52b73c8
+1 -1
View 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;
}