SWDEV-532473 - Check for P2P support in atomic mgpu tests (#225)

Co-authored-by: Rahul Manocha <rmanocha@amd.com>
This commit is contained in:
Manocha, Rahul
2025-08-04 12:51:59 -07:00
کامیت شده توسط GitHub
والد 560c731d42
کامیت fcebe427fc
4فایلهای تغییر یافته به همراه34 افزوده شده و 0 حذف شده
@@ -580,6 +580,8 @@ void MultipleDeviceMultipleKernelAndHostTest(const unsigned int num_devices,
}
}
CHECK_P2P_SUPPORT
if (kernel_count > 1) {
for (auto i = 0u; i < num_devices; ++i) {
int canAccess = 0;
@@ -395,6 +395,8 @@ void AtomicExchMultipleDeviceMultipleKernelAndHostTest(const unsigned int num_de
}
}
CHECK_P2P_SUPPORT
if (kernel_count > 1) {
for (auto i = 0u; i < num_devices; ++i) {
int canAccess = 0;
@@ -422,6 +422,8 @@ void MultipleDeviceMultipleKernelTest(const unsigned int num_devices,
}
}
CHECK_P2P_SUPPORT
if (kernel_count > 1) {
for (auto i = 0u; i < num_devices; ++i) {
int canAccess = 0;