SWDEV-439576 - rocmsmi -> amdsmi

- Migrate to amdsmi library
- NOTE: raslib still uses rocmsmi
- Remove unused rocmsmi service
- Remove unused RDC client code
- Remove RSMI calls from protos/rdc.proto

Change-Id: Ifc34a264c506b0ec5792307ee56b34526268762d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Galantsev, Dmitrii
2024-01-22 18:56:42 -06:00
parent 60467c45af
commit 9702d0f2d7
53 changed files with 774 additions and 2340 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ message("--------Proj Src Dir: " ${PROJECT_SOURCE_DIR})
message("--------Proj Bld Dir: " ${PROJECT_BINARY_DIR})
message("--------Proj Lib Dir: " ${PROJECT_BINARY_DIR}/lib)
message("--------Proj Exe Dir: " ${PROJECT_BINARY_DIR}/bin)
message("--------RSMI Inc Dir: " ${RSMI_INC_DIR})
message("--------SMI Inc Dir: " ${SMI_INC_DIR})
message("")
set(SRC_DIR "${PROJECT_SOURCE_DIR}/tests/example")
@@ -69,7 +69,7 @@ add_executable(${TEST_CLIENT_EXE} "${EXAMPLE_SRC_LIST}")
target_include_directories(${TEST_CLIENT_EXE} PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/../../client/include"
"${RSMI_INC_DIR}")
"${SMI_INC_DIR}")
target_link_libraries(${TEST_CLIENT_EXE} rdc_client)
+1 -1
View File
@@ -28,7 +28,7 @@ THE SOFTWARE.
#include <iostream>
#include "rocm_smi/rocm_smi.h"
#include "amd_smi/amdsmi.h"
#define CHK_RET_STATUS(RET) \
if ((RET) != RDC_STATUS_SUCCESS) { \