SWDEV-446760 - check image support before running array tests

Change-Id: I1eca9bdbfb20567137c7c17ab649555938fc6e60
Tá an tiomantas seo le fáil i:
Jatin Chaudhary
2024-02-21 16:03:53 +00:00
tiomanta ag Rakesh Roy
tuismitheoir 4c0bf68dd9
tiomantas ec11b79b12
D'athraigh 2 comhad le 4 breiseanna agus 0 scriosta
+2
Féach ar an gComhad
@@ -40,6 +40,8 @@ THE SOFTWARE.
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipCreateSurfaceObject_Negative_Parameters") {
CHECK_IMAGE_SUPPORT
hipArray_t array;
hipChannelFormatDesc desc = hipCreateChannelDesc<float>();