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
This commit is contained in:
zatwierdzone przez
Xiaogang Chen
rodzic
665e6f80bf
commit
b4943d718b
@@ -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