Skip to content

Commit

Permalink
Mixed up these two.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Aug 15, 2023
1 parent 05d66de commit f802d66
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Futhark/CodeGen/ImpGen/GPU/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -539,10 +539,8 @@ groupReduceWithOffset offset w lam arrs = do
| otherwise = sOp $ Imp.Barrier Imp.FenceGlobal

errorsync
| all primType $ lambdaReturnType lam =
sOp $ Imp.ErrorSync Imp.FenceGlobal
| otherwise =
sOp $ Imp.ErrorSync Imp.FenceLocal
| all primType $ lambdaReturnType lam = sOp $ Imp.ErrorSync Imp.FenceLocal
| otherwise = sOp $ Imp.ErrorSync Imp.FenceGlobal

readReduceArgument param arr = do
let i = local_tid + tvExp offset
Expand Down

0 comments on commit f802d66

Please sign in to comment.