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:
1 orang tua
9cb96eafdb
melakukan
63d52b73c8
1 file changed
+1
-1
@@ -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