SWDEV-251884 - Add Coop Launch Dev Property Checks in Co-operative Groups test cases.

Change-Id: I7b54a559d8abe0d5d5c77e48868b1332477a39f8
Bu işleme şunda yer alıyor:
kjayapra-amd
2020-09-10 10:35:02 -04:00
işlemeyi yapan: Karthik Jayaprakash
ebeveyn c3aa54d4e2
işleme d2008f93f4
3 değiştirilmiş dosya ile 18 ekleme ve 0 silme
+6
Dosyayı Görüntüle
@@ -137,6 +137,12 @@ int main()
ASSERT_EQUAL(hipGetDeviceProperties(&deviceProperties, deviceId), hipSuccess);
int maxThreadsPerBlock = deviceProperties.maxThreadsPerBlock;
if (!deviceProperties.cooperativeLaunch) {
std::cout << "info: Device doesn't support cooperative launch! skipping the test!\n";
passed();
return 0;
}
// Test block sizes which are powers of 2
int i = 0;
while (true) {
+6
Dosyayı Görüntüle
@@ -137,6 +137,12 @@ int main()
ASSERT_EQUAL(hipGetDeviceProperties(&deviceProperties, deviceId), hipSuccess);
int maxThreadsPerBlock = deviceProperties.maxThreadsPerBlock;
if (!deviceProperties.cooperativeLaunch) {
std::cout << "info: Device doesn't support cooperative launch! skipping the test!\n";
passed();
return 0;
}
// Test block sizes which are powers of 2
int i = 0;
while (true) {
+6
Dosyayı Görüntüle
@@ -137,6 +137,12 @@ int main()
ASSERT_EQUAL(hipGetDeviceProperties(&deviceProperties, deviceId), hipSuccess);
int maxThreadsPerBlock = deviceProperties.maxThreadsPerBlock;
if (!deviceProperties.cooperativeLaunch) {
std::cout << "info: Device doesn't support cooperative launch! skipping the test!\n";
passed();
return 0;
}
// Test block sizes which are powers of 2
int i = 0;
while (true) {