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
File "/home/eshi/code-projects/warp/warp/builtins.py", line 1856, in tile_arange_value_func
raise RuntimeError("wp.tile_arange() arguments must be compile time constants")
RuntimeError: Error while parsing function "compute" at /home/eshi/code-projects/warp/ershi-tests/test_tile_min_docstring.py:6:
a = wp.tile_arange(-10, 10, dtype=int)
;wp.tile_arange() arguments must be compile time constants
(Note also that the RuntimeError raised in tile_arange_value_func() is not very helpful here).
File "/home/eshi/code-projects/warp/warp/builtins.py", line 1856, in tile_arange_value_func
raise RuntimeError("wp.tile_arange() arguments must be compile time constants")
RuntimeError: Error while parsing function "compute" at /home/eshi/code-projects/warp/ershi-tests/test_tile_min_docstring.py:6:
a = wp.tile_arange(10, 0, -1, dtype=int)
;wp.tile_arange() arguments must be compile time constants
System Information
No response
The text was updated successfully, but these errors were encountered:
Bug Description
Example:
This code results in the following issue:
(Note also that the
RuntimeError
raised intile_arange_value_func()
is not very helpful here).Similarly, using a negative step doesn't work:
Output:
System Information
No response
The text was updated successfully, but these errors were encountered: