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

Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277


[ROCm/hip-tests commit: ee3c94faf2]
This commit is contained in:
Jatin Chaudhary
2023-07-25 17:04:13 +01:00
committed by Jatin Jaikishan Chaudhary
parent 349acb4198
commit cb193f70c4
52 changed files with 524 additions and 76 deletions
@@ -36,6 +36,8 @@ invalid
TEST_CASE("Unit_hipMemcpy2DFromArray_Positive_Default") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
const auto width = GENERATE(16, 32, 48);
@@ -87,6 +89,8 @@ TEST_CASE("Unit_hipMemcpy2DFromArray_Positive_Default") {
}
TEST_CASE("Unit_hipMemcpy2DFromArray_Positive_Synchronization_Behavior") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
HIP_CHECK(hipDeviceSynchronize());
@@ -114,6 +118,8 @@ TEST_CASE("Unit_hipMemcpy2DFromArray_Positive_Synchronization_Behavior") {
}
TEST_CASE("Unit_hipMemcpy2DFromArray_Positive_ZeroWidthHeight") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
const auto width = 16;
const auto height = 16;
@@ -147,6 +153,8 @@ TEST_CASE("Unit_hipMemcpy2DFromArray_Positive_ZeroWidthHeight") {
}
TEST_CASE("Unit_hipMemcpy2DFromArray_Negative_Parameters") {
CHECK_IMAGE_SUPPORT
using namespace std::placeholders;
const auto width = 32;