SWDEV-532473 - Add Pcie atomic support check to failing tests (#575)

Co-authored-by: Rahul Manocha <rmanocha@amd.com>
This commit is contained in:
systems-assistant[bot]
2025-09-09 09:01:25 -07:00
committed by GitHub
parent 5f517d37ee
commit be2e7314fa
5 changed files with 18 additions and 26 deletions
@@ -53,6 +53,7 @@ TEST_CASE("Unit_kernel_ChkPrintf") {
const char* check = st.c_str();
for (int i = 0; i < device_count; ++i) {
HIP_CHECK(hipSetDevice(i));
if (!HipTest::isPcieAtomicSupported()) continue;
hipLaunchKernelGGL(run_printf, dim3(1), dim3(1), 0, 0);
HIP_CHECK(hipDeviceSynchronize());
char* data = new char[st.size()];