SWDEV-532473 - Check for P2P support in atomic mgpu tests (#225)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
This commit is contained in:
1 parent
560c731d42
commit
fcebe427fc
4 files changed
+34
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user