Thunk interface to get SDMA engine info

Add SDMA engine info fields to node properties and
modify get node properties API to read SDMA engine
info from sysfs

Change-Id: Iea877b5bc008cc9df9405daf564a359535f1bc9f
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>


[ROCm/ROCR-Runtime commit: 414a3508d6]
此提交包含在:
Oak Zeng
2019-02-13 10:22:32 -06:00
提交者 Oak Zeng
父節點 a75addec83
當前提交 f77c754281
共有 2 個檔案被更改,包括 7 行新增1 行删除
+3 -1
查看文件
@@ -299,7 +299,9 @@ typedef struct _HsaNodeProperties
HSA_DEBUG_PROPERTIES DebugProperties; // Debug properties of this node.
HSAuint64 HiveID; // XGMI Hive the GPU node belongs to in the system. It is an opaque and static
// number hash created by the PSP
HSAuint8 Reserved[44];
HSAuint32 NumSdmaEngines; // number of PCIe optimized SDMA engines
HSAuint32 NumSdmaXgmiEngines;// number of XGMI optimized SDMA engines
HSAuint8 Reserved[36];
} HsaNodeProperties;