Lots of issues with the Python API and the examples. Some of them, in random order:
- some modules are not Python 3 compatible
- local imports should be turned into global imports (e.g. in __init__.py, from compat import deprecated)
- roofline.py is completely broken (e.g., self_arithmetic_intensity does not exist anymore; I presume it should be self_ai)
I'm trying to patch roofline.py. Can I upload it somewhere once done?
In fact, I'd like to patch the Python API in quite a few places. Let me know if I can help.