Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

python examples are broken

FabioL_
Beginner
604 Views

Hi,

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.

0 Kudos
1 Reply
Egor_K_Intel
Employee
604 Views

Hi, Fabio

We support only Python 2 for now. We do have plans for Python 3 support but it is not there yet.

Roofline.py is the only example that uses external libraries, and therefore most susceptible to various issues and it is the only example which is not tested with our testing infrastructure. But I agree that we need updating it.

We also have plans to do some Python API improvements in the near future, so your input would be highly appreciated.

0 Kudos
Reply