cornell-zhang / heterocl

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

Problems with running the SODA backend #248

Closed zhanqiu-hu closed 4 years ago

zhanqiu-hu commented 4 years ago

There are errors due to SODA while running the file tutorial_09_stencil.py.

zhangzhiru commented 4 years ago

@Blaok Yuze, can you take a look?

seanlatias commented 4 years ago

@Blaok, that tutorial is out-dated. Could you update it? Also, can you propagate the errors of SODA to HeteroCL? You can execute the existing tutorial and see that there is indeed an error. However, that error is not reflected in HeteroCL. Only the error message is printed out. We should also terminate the HeteroCL program with the same error message.

Blaok commented 4 years ago

@zhangzhiru Sure, the problem is caused by the recent changes in the SODA backend. I'll update the tutorial and propagate errors from SODA properly.

@seanlatias Any suggestions on propagating the errors back to HeteroCL? Maybe exit(EXIT_FAILURE) if SODA returns non-zero?