SWDEV-482059 SWDEV-476745 - Add image support check

Add image support check before hipMallocArray().

Change-Id: I9efed88d791ee1b2b4465286b3341b821f7bf628


[ROCm/hip-tests commit: b4694a6bab]
Este cometimento está contido em:
taosang2 criou e Maneesh Gupta cometeu 2024-10-09 11:29:28 -04:00
1 ascendente cbd270ab58
cometimento 4b0437de28
3 ficheiros modificados
+3

Não existem ficheiros que correspondam à sua pesquisa

+1
Ver ficheiro
@@ -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);
+1
Ver ficheiro
@@ -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);