SWDEV-532473 - Check for P2P support in atomic mgpu tests (#225)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
مرجع در شماره جدید
Block a user