Fix pSync buffer initialization in IPC(#180)
- Initialize the entire pSync buffer with the default synchronization value
This commit is contained in:
committato da
GitHub
parent
e2bae5131a
commit
6dba253890
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user