SWDEV-482059 SWDEV-476745 - Add image support check

Add image support check before hipMallocArray().

Change-Id: I9efed88d791ee1b2b4465286b3341b821f7bf628


[ROCm/hip-tests commit: b4694a6bab]
This commit is contained in:
taosang2 authored and Maneesh Gupta committed 2024-10-09 11:29:28 -04:00
1 parent cbd270ab58
commit 4b0437de28
3 files changed
+3

No files matched your search

@@ -50,6 +50,7 @@ TEST_CASE("Unit_hipMemcpyAtoA_Basic") {
return;
#else
HIP_CHECK(hipSetDevice(0));
CHECK_IMAGE_SUPPORT
int row, col;
row = 1;
col = GENERATE(3, 4, 100);
@@ -48,6 +48,7 @@ TEST_CASE("Unit_hipMemcpyAtoD_Basic") {
return;
#else
HIP_CHECK(hipSetDevice(0));
CHECK_IMAGE_SUPPORT
int row, col;
row = 1;
col = GENERATE(3, 4, 100);
@@ -48,6 +48,7 @@ TEST_CASE("Unit_hipMemcpyAtoHAsync_Basic") {
return;
#else
HIP_CHECK(hipSetDevice(0));
CHECK_IMAGE_SUPPORT
int row, col;
row = 1;
col = GENERATE(3, 4, 100);