kfdtest: Add helper to check if IsAppAPU system
If there is connection between GPU and CPU with weight 13,
KFD_CRAT_INTRA_SOCKET_WEIGHT, then this is AppAPU.
This will be used to skip tests not suitable for AppAPU.
Change-Id: If6fad81528b52afd4ac4cefa508d787b0f6637ca
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
[ROCm/ROCR-Runtime commit: e2df2c21af]
This commit is contained in:
committed by
Graham Sider
parent
76c0c340f9
commit
e80be9112f
@@ -233,6 +233,7 @@ class HsaNodeInfo {
|
||||
|
||||
void PrintNodeInfo() const;
|
||||
const bool IsGPUNodeLargeBar(int node) const;
|
||||
const bool IsAppAPU(int node) const;
|
||||
const bool IsPeerAccessibleByNode(int peer, int node) const;
|
||||
// @brief Find the first available Large-BAR GPU node
|
||||
// @return: Node ID if successful or -1
|
||||
|
||||
Reference in New Issue
Block a user