SWDEV-411064 - check if image is supported before running image specific tests

Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277


[ROCm/hip-tests commit: ee3c94faf2]
Tá an tiomantas seo le fáil i:
Jatin Chaudhary údaraithe agus Jatin Jaikishan Chaudhary tiomanta 2023-09-21 06:23:55 -04:00
1 tuismitheoir 349acb4198
tiomantas cb193f70c4
52 comhad athraithe
+524 -76

Níor tháinig aon chomhaid le do chuardach

@@ -36,6 +36,8 @@ of hipMemcpy2DToArrayAsync api when parameters are invalid
TEST_CASE("Unit_hipMemcpy2DToArrayAsync_Positive_Default") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
const auto stream_type = GENERATE(Streams::nullstream, Streams::perThread, Streams::created);
@@ -92,6 +94,8 @@ TEST_CASE("Unit_hipMemcpy2DToArrayAsync_Positive_Default") {
}
TEST_CASE("Unit_hipMemcpy2DToArrayAsync_Positive_Synchronization_Behavior") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
HIP_CHECK(hipDeviceSynchronize());
@@ -115,6 +119,8 @@ TEST_CASE("Unit_hipMemcpy2DToArrayAsync_Positive_Synchronization_Behavior") {
}
TEST_CASE("Unit_hipMemcpy2DToArrayAsync_Positive_ZeroWidthHeight") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
const auto width = 16;
const auto height = 16;
@@ -152,6 +158,8 @@ TEST_CASE("Unit_hipMemcpy2DToArrayAsync_Positive_ZeroWidthHeight") {
}
TEST_CASE("Unit_hipMemcpy2DToArrayAsync_Negative_Parameters") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
const auto width = 32;