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][Backend] Add attributes to frontend APIs; Create HeteroCL library #77

Closed seanlatias closed 5 years ago

seanlatias commented 5 years ago

In this PR, we build a HeteroCL library (hlib) similar to TOPI. For each API, there is an attribute field that will be used by the backend. The LeNet example is updated to reflect the changes.