SWDEV-504960 - Check image support.

Change-Id: Ieda106374eb066cd20ddd1194a9f9b1352c26d05
This commit is contained in:
Jaydeep Patel authored and Jaydeepkumar Patel committed 2024-12-23 01:17:02 -05:00
1 förälder b1800c4fb4
incheckning a7dd22f97f
3 files changed
+7

No files matched your search

+2
Visa fil
@@ -109,6 +109,7 @@ TEST_CASE("Unit_hipMemcpyHtoAAsync_BasicTstsWithDiffStreams") {
HipTest::HIP_SKIP_TEST("API currently unsupported on nvidia, skipping...");
return;
#else
CHECK_IMAGE_SUPPORT
HIP_CHECK(hipSetDevice(0));
int row, col;
row = 1;
@@ -174,6 +175,7 @@ TEST_CASE("Unit_hipMemcpyHtoAAsync_MultiDevice") {
HipTest::HIP_SKIP_TEST("API currently unsupported on nvidia, skipping...");
return;
#else
CHECK_IMAGE_SUPPORT
int devCount = 0;
HIP_CHECK(hipGetDeviceCount(&devCount));
for (int i=0; i < devCount; i++) {