Skip to content

Commit

Permalink
update warp.py to sync with PR4957
Browse files Browse the repository at this point in the history
  • Loading branch information
galeselee committed May 12, 2022
1 parent 5e87744 commit bb2657c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/taichi/lang/simt/warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ def shfl_xor_i32(mask, val, offset):


def match_any(mask, value):
return expr.Expr(
_ti_core.insert_internal_func_call("cuda_match_any_sync_i32",
expr.make_expr_group(mask, value),
False))
return impl.call_internal("cuda_match_any_sync_i32",
mask,
value,
with_runtime_context=False)


def match_all():
Expand Down

0 comments on commit bb2657c

Please sign in to comment.