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
warp.codegen.WarpCodegenError: Error while parsing function "threshold" at /home/eshi/code-projects/warp/ershi-tests/test_single_line.py:10:
out[i] = 1.0 if out[i] < value else -1
;Construct `ast.IfExp` not supported in kernels.
The text was updated successfully, but these errors were encountered:
Kernels should support expressions like
out[i] = 1.0 if out[i] < value else -1
, e.g.Currently, the above code yields:
The text was updated successfully, but these errors were encountered: