SWDEV-504960 - Check image support.

Change-Id: Ieda106374eb066cd20ddd1194a9f9b1352c26d05
Este commit está contenido en:
Jaydeep Patel
2024-12-17 06:58:45 +00:00
cometido por Jaydeepkumar Patel
padre b1800c4fb4
commit a7dd22f97f
Se han modificado 3 ficheros con 7 adiciones y 0 borrados
+3
Ver fichero
@@ -24,6 +24,7 @@ THE SOFTWARE.
texture<float, 1, hipReadModeElementType> tex;
TEST_CASE("Unit_hipTexRefSetArray_Positive") {
CHECK_IMAGE_SUPPORT
hipArray_t array_set = nullptr;
hipArray_t array_get = nullptr;
hipModule_t module = nullptr;
@@ -47,6 +48,7 @@ TEST_CASE("Unit_hipTexRefSetArray_Positive") {
}
TEST_CASE("Unit_hipTexRefSetArray_CheckData") {
CHECK_IMAGE_SUPPORT
hipModule_t module = nullptr;
hipTexRef tex_ref = nullptr;
int num_channels = 0;
@@ -75,6 +77,7 @@ TEST_CASE("Unit_hipTexRefSetArray_CheckData") {
}
TEST_CASE("Unit_hipTexRefSetArray_Negative") {
CHECK_IMAGE_SUPPORT
hipArray_t array_set = nullptr;
hipModule_t module = nullptr;
hipTexRef tex_ref = nullptr;