ROCm / rocm_smi_lib

ROCm SMI LIB
https://rocm.docs.amd.com/projects/rocm_smi_lib/en/latest/
MIT License
112 stars 48 forks source link

Add support for package configuration files #75

Open atamazov opened 3 years ago

atamazov commented 3 years ago

This is required for https://github.com/ROCmSoftwarePlatform/MIOpen.

Why we need rocm_smi_lib:

We are going to use the library for the above purpose.

To find external packages (like compilers, libraries, etc.), MIOpen relies on CMake. However, CMake's find_package() fails to find rocm_smi_lib because it does not provide package configuration files.

We can implement our own Findrocm_smi_lib.cmake but this is not future-proof solution.

I recommend using the https://github.com/RadeonOpenCompute/rocm-cmake to implement package config files. Please refer to CMake documentation for more information.

atamazov commented 3 years ago

/cc @dagamayank @daniellowell @t-tye