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, RahulandRahul Manocha authored and GitHub committed 2025-08-04 12:51:59 -07:00
1 parent 560c731d42
commit fcebe427fc
4 files changed
+34

No files matched your search

+2
View File
@@ -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;
+2
View File
@@ -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;
+2
View File
@@ -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;