kfdtest: Implement an infracture to support kfdtest run on multi gpu
Update class KFDBaseComponentTest to have kfdtest run on multi gpu under google test framework.
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com>
Change-Id: If139c4fc6cf062fb800ff171c69cbf9604f98278
[ROCm/ROCR-Runtime commit: b4943d718b]
This commit is contained in:
committed by
Xiaogang Chen
parent
7ca6b20d3f
commit
58e0937fb4
@@ -230,6 +230,9 @@ class HsaNodeInfo {
|
||||
*/
|
||||
const std::vector<int>& GetNodesWithGPU() const;
|
||||
|
||||
/* get gpu index from gpuNodeID */
|
||||
const int HsaGPUindexFromGpuNode(int gpuNodeId) const;
|
||||
|
||||
// @param node index of the node we are looking at
|
||||
// @param nodeProperties HsaNodeProperties returned
|
||||
const HsaNodeProperties* GetNodeProperties(int NodeNum) const;
|
||||
|
||||
Reference in New Issue
Block a user