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

Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277


[ROCm/hip-tests commit: ee3c94faf2]
このコミットが含まれているのは:
Jatin Chaudhary
2023-07-25 17:04:13 +01:00
committed by Jatin Jaikishan Chaudhary
コミット cb193f70c4
52個のファイルの変更、524行の追加、76行の削除
+4
ファイルの表示
@@ -39,6 +39,8 @@ Functional -
/* Test verifies hipGraphMemcpyNodeGetParams API Negative scenarios.
*/
TEST_CASE("Unit_hipGraphMemcpyNodeGetParams_Negative") {
CHECK_IMAGE_SUPPORT
constexpr int width{SIZE}, height{SIZE}, depth{SIZE};
hipArray *devArray;
hipChannelFormatKind formatKind = hipChannelFormatKindSigned;
@@ -145,6 +147,8 @@ static bool memcpyNodeCompare(hipMemcpy3DParms *mNode1,
}
TEST_CASE("Unit_hipGraphMemcpyNodeGetParams_Functional") {
CHECK_IMAGE_SUPPORT
constexpr int width{SIZE}, height{SIZE}, depth{SIZE};
hipArray *devArray;
hipChannelFormatKind formatKind = hipChannelFormatKindSigned;