Support GPU memory test and compute queue test using Rocr

A new diagnostic module librdc_rocr.so is created. The
module uses Rocr to test the memory allocation, memory access
and compute queue ready status.

Change-Id: I9098f4fc3209bf381b7cb3658a4e94c2e22f2fe9


[ROCm/rdc commit: 78e2f2486b]
This commit is contained in:
Bill(Shuzhou) Liu
2021-09-16 15:38:37 -04:00
committed by Shuzhou Liu
parent ed96db8cba
commit 6b700f8005
74 changed files with 4811 additions and 25 deletions
@@ -29,6 +29,7 @@ THE SOFTWARE.
#include "rdc_lib/RdcDiagnostic.h"
#include "rdc_lib/impl/RdcRasLib.h"
#include "rdc_lib/impl/RdcSmiLib.h"
#include "rdc_lib/impl/RdcRocrLib.h"
namespace amd {
namespace rdc {
@@ -55,7 +56,8 @@ class RdcDiagnosticModule : public RdcDiagnostic {
rdc_status_t rdc_diag_destroy() override;
explicit RdcDiagnosticModule(const RdcSmiLibPtr& smi_lib,
const RdcRasLibPtr& ras_module);
const RdcRasLibPtr& ras_module,
const RdcRocrLibPtr& rocr_module);
private:
//< Helper function to dispatch fields to module