kfdtest: Add function to check for PCI Atomic Ops support
While this is currently only used in one subtest, it's useful to have
this separated into the test utilities. This will also allow us to check
for PCI Atomics support before trying to run them.
Signed-off-by: Kent Russell <kent.russell@amd.com>
Change-Id: I9704d151bfaa627eceae8399cc46c15babde6ff1
[ROCm/ROCR-Runtime commit: 8b54459e12]
This commit is contained in:
@@ -50,6 +50,7 @@ HSAKMT_STATUS CreateQueueTypeEvent(bool ManualReset, bool IsSignaled, unsigned i
|
||||
|
||||
bool is_dgpu();
|
||||
bool isTonga(const HsaNodeProperties *props);
|
||||
bool hasPciAtomicsSupport(int node);
|
||||
unsigned int FamilyIdFromNode(const HsaNodeProperties *props);
|
||||
|
||||
void GetHwQueueInfo(const HsaNodeProperties *props,
|
||||
|
||||
Reference in New Issue
Block a user