RRZE-HPC / likwid

Performance monitoring and benchmarking suite
https://hpc.fau.de/research/tools/likwid/
GNU General Public License v3.0
1.65k stars 226 forks source link

Add AMD ROCm support #557

Closed mhorst00 closed 10 months ago

mhorst00 commented 11 months ago

This pull request adds support for AMDs ROCm GPU libraries. It targets ROCm versions >=5.0. Integrated documentation for doxygen has been added, though documentation in the wiki will be missing for now.

I have merged the latest state of the LIKWID repo into this pretty old fork, so there may be some slight issues, especially around NVIDIA code changed after May of 2021.

Let me know if there are any changes needed.

TomTheBear commented 11 months ago

Thanks for the PR. How do we want to proceed?

I enabled the Github Actions for the PR and as you can see, it does not compile. The error is unrelated to Nvidia GPUs.

mhorst00 commented 10 months ago

I am currently investigating this. On one of my machines, compilation worked but on another it didn't. I will try to fix the problem and then update this PR.

mhorst00 commented 10 months ago

I had some import conflicts because my formatter sorted them wrong. I now fixed this and rebased on current master again. I can compile this branch with AMD or NVIDIA support or without GPU support.