Add the RdcSmiDiagnostic module
Provides a RdcSmiDiagnostic module, which will call rocm_smi_lib. It will support following diagnostics: Get GPU Topology, Check GPU parameters and check processes running on the GPUs. The grpc client and server side diagnostics function is added. The diag module is added to the rdci. Change-Id: I10a0cf3c20556a61373ab686f82cae75acaa40dd
Этот коммит содержится в:
@@ -980,6 +980,27 @@ rdc_status_t rdc_diagnostic_run(
|
||||
rdc_diag_level_t level,
|
||||
rdc_diag_response_t* response);
|
||||
|
||||
/**
|
||||
* @brief Run one diagnostic test case
|
||||
*
|
||||
* @details Run a specific diagnostic test case.
|
||||
*
|
||||
* @param[in] p_rdc_handle The RDC handler.
|
||||
*
|
||||
* @param[in] group_id The GPU group id.
|
||||
*
|
||||
* @param[in] test_case The test case to run.
|
||||
*
|
||||
* @param[inout] result The results of the test.
|
||||
*
|
||||
* @retval ::RDC_ST_OK is returned upon successful call.
|
||||
*/
|
||||
rdc_status_t rdc_test_case_run(
|
||||
rdc_handle_t p_rdc_handle,
|
||||
rdc_gpu_group_t group_id,
|
||||
rdc_diag_test_cases_t test_case,
|
||||
rdc_diag_test_result_t* result);
|
||||
|
||||
/**
|
||||
* @brief Get a description of a provided RDC error status
|
||||
*
|
||||
|
||||
Ссылка в новой задаче
Block a user