StanfordAHA / Halide-to-Hardware

Other
74 stars 12 forks source link

quick fix for coreir namespace issue #109

Closed gednyengs closed 3 years ago

gednyengs commented 3 years ago

This is a quick workaround for our coreir namespace collision issue. It seems coreir doesn't allow us to load the same libs more than once. To solve this, I just memoized the gens map so that we don't have to repopulate it (hence we won't load libraries more than once)