You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The execution scope of group_barrier needs to be determined based on the group argument. Currently it is hard-coded to MemoryScope.WORK_GROUP since numba-dpex only supports group_barrier on work groups. Once sub-groups are added, then group_barrier can be called on both work groups and sub-groups.
The following changes need to performed once sub-group feature is added.
If group refers to a work_group then, execution scope needs to be set to MemoryScope.WORK_GROUP.
If group refers to a sub-group then, execution scope needs to be set to MemoryScope.SUB_GROUP.
The execution scope of
group_barrierneeds to be determined based on thegroupargument. Currently it is hard-coded toMemoryScope.WORK_GROUPsince numba-dpex only supportsgroup_barrieron work groups. Once sub-groups are added, thengroup_barriercan be called on both work groups and sub-groups.The following changes need to performed once sub-group feature is added.
If
grouprefers to a work_group then, execution scope needs to be set toMemoryScope.WORK_GROUP.If
grouprefers to a sub-group then, execution scope needs to be set toMemoryScope.SUB_GROUP.