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

[CI][Refactor] Clean up code and add cpplint to CI #329

Closed seanlatias closed 3 years ago

seanlatias commented 3 years ago

In this PR, we add cpplint (from Google) as a check for CI. For now, most folders except dmlc-core and dlpack are included in the test. Later on, the cpplint test will be a must. An instruction on coding style and how to format the code automatically is added to README.md.

Also, some currently not supported optimizations are removed (e.g., tensorization) for better readability. More code will be cleaned up when pylint is included.

zhangzhiru commented 3 years ago

It's great to do automated linting on our code.