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

Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
This commit is contained in:
Jatin Chaudhary authored and Jatin Jaikishan Chaudhary committed 2023-09-21 06:23:55 -04:00
1 parent b6b43db172
commit ee3c94faf2
52 files changed
+524 -76

No files matched your search

@@ -59,6 +59,8 @@ static __global__ void var_update(int* data) {
/* Allocate memory using different Allocation APIs and check whether
correct memory type and device oridinal are returned */
TEST_CASE("Unit_hipPointerGetAttribute_MemoryTypes") {
CHECK_IMAGE_SUPPORT
HIP_CHECK(hipSetDevice(0));
size_t pitch_A;
size_t width{NUM_W * sizeof(char)};