Files
rocm-systems/projects
Icarus Sparry 16d9ded677 Make hip_prof_gen.py compatible with both python 2 and 3
Convert python 2 constructs to python 3 compatible ones.

In python 3, print is a function, so use write methods (which are always functions) instead.

In python3 keys() returns an iterator, rather than a list. This means you can't change the data structure that is being iterated over. Converting this iterator into a list mimics the python 2 behavior.

[ROCm/clr commit: 17bebbd0f2]
2019-06-17 12:03:36 -07:00
..