Fix python loading of librocm_smi64
The librocm_smi64.so is used for development, while librocm_smi64.so.MAJOR is used for runtime, thus the python front end should not be loading the .so binary, but rather the .so.MAJOR binary. As well, it's good not to hardcode "lib" as some distros will change this. rsmiBindings.py is now generated with CMake Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com> Change-Id: I7cb745f8936fdf10d3ebd6c1e606031f713184ca
This commit is contained in:
+3
-3
@@ -117,12 +117,12 @@ CTestTestfile.cmake
|
||||
_deps
|
||||
|
||||
#
|
||||
# ROCm files
|
||||
# Removes generated config headers like rocmsmi64Config.h & oamConfig.h
|
||||
# below files are generated via CMake
|
||||
#
|
||||
*Config.h
|
||||
python_smi_tools/rsmiBindings.py
|
||||
|
||||
#
|
||||
# Fake SYSFS files
|
||||
#
|
||||
/device/*
|
||||
/device/*
|
||||
|
||||
Reference in New Issue
Block a user