SWDEV-446760 - check image support before running array tests

Change-Id: I1eca9bdbfb20567137c7c17ab649555938fc6e60


[ROCm/hip-tests commit: ec11b79b12]
This commit is contained in:
Jatin Chaudhary authored and Rakesh Roy committed 2024-02-22 00:58:32 -05:00
1 orang tua c9991341dc
melakukan 4b6fb4fff4
2 files changed
+4

No files matched your search

@@ -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>();