diff --git a/tests/kfdtest/src/KFDTestUtil.cpp b/tests/kfdtest/src/KFDTestUtil.cpp index 7a1e888a58..cbc1d4104a 100644 --- a/tests/kfdtest/src/KFDTestUtil.cpp +++ b/tests/kfdtest/src/KFDTestUtil.cpp @@ -140,6 +140,10 @@ bool hasPciAtomicsSupport(int node) { if (pNodeProperties->NumCPUCores && pNodeProperties->NumFComputeCores) return true; + /* gfx11 is able to perform aotmic ops even PCI reports no atomic support. */ + if (pNodeProperties->EngineId.ui32.Major >= 11) + return true; + HsaIoLinkProperties *IolinkProperties = new HsaIoLinkProperties[pNodeProperties->NumIOLinks]; if (hsaKmtGetNodeIoLinkProperties(node, pNodeProperties->NumIOLinks, IolinkProperties)) { LOG() << "Unable to get Node IO Link Information for node " << node << std::endl;