kfdtest: add xgmi path for p2p tests
When large bar is not available, we can use
xgmi to do p2p tests.
Change-Id: Ib7b59fb8a4d41f605739a0428973f6b2f1a3450f
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
[ROCm/ROCR-Runtime commit: 0174377351]
This commit is contained in:
committed by
JinHuiEric Huang
parent
74fe695127
commit
0cd804f8a0
@@ -188,6 +188,9 @@ class HsaNodeInfo {
|
||||
// @brief Find the first available Large-BAR GPU node
|
||||
// @return: Node ID if successful or -1
|
||||
const int FindLargeBarGPUNode() const;
|
||||
const bool AreGPUNodesXGMI(int node0, int node1) const;
|
||||
int FindAccessiblePeers(std::vector<HSAuint32> *peers, HSAuint32 dstNode,
|
||||
bool bidirectional) const;
|
||||
};
|
||||
|
||||
#endif // __KFD__TEST__UTIL__H__
|
||||
|
||||
Reference in New Issue
Block a user