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:
committed by
GitHub
parent
9cb96eafdb
commit
63d52b73c8
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user