Fix rocshmem_ctx_wg_team_sync API

- Updated `rocshmem_ctx_wg_team_sync` to utilize a team-specific memory buffer for synchronization
이 커밋은 다음에 포함됨:
avinashkethineedi가 2025-02-05 19:09:07 +00:00를 커밋했습니다
1 부모 248972b30b
커밋 c5b548c398
1 파일이 변경됨
+2 -1
+2 -1
파일 보기
@@ -105,8 +105,9 @@ __device__ void IPCContext::sync(rocshmem_team_t team) {
int pe_start = team_obj->tinfo_wrt_world->pe_start;
int pe_stride = team_obj->tinfo_wrt_world->stride;
int pe_size = team_obj->num_pes;
long *p_sync = team_obj->barrier_pSync;
internal_sync(pe, pe_start, pe_stride, pe_size, barrier_sync);
internal_sync(pe, pe_start, pe_stride, pe_size, p_sync);
}
__device__ void IPCContext::sync_all() {