cornell-zhang / heterocl

HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
326 stars 92 forks source link

[API] Fix index casting issue #312

Closed seanlatias closed 4 years ago

seanlatias commented 4 years ago

As mentioned in #311, there is index casting issue when inside irregular imperative for loops. Thus, the solution is to remove the casting for tensor indices.

Test case: tests/issues/test_issue_311.py