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
Traceback (most recent call last):
File "/home/jansel/pytorch/repro.py", line 19, in <module>
Kernel().compile_to_callable()
File "/home/jansel/conda/envs/pytorch/lib/python3.10/site-packages/halide/_generator_helpers.py", line 449, in compile_to_callable
pipeline = self._build_pipeline()
File "/home/jansel/conda/envs/pytorch/lib/python3.10/site-packages/halide/_generator_helpers.py", line 707, in _build_pipeline
self.generate()
File "/home/jansel/pytorch/repro.py", line 14, in generate
out_ptr0[h0] = in_ptr0[tmp12[h0]]
halide.halide_.HalideError: Error: Can't index into a reference to Func "tmp12", because it does not return a Tuple.
It is a pretty easy workaround to generate, but seems like a bug.
The text was updated successfully, but these errors were encountered:
jansel
changed the title
Error: Can't index into a reference to Func "tmp12", because it does not return a Tuple
Error: Can't index into a reference to Func because it does not return a Tuple
Jun 18, 2024
Output
You can workaround with the following change:
It is a pretty easy workaround to generate, but seems like a bug.
The text was updated successfully, but these errors were encountered: