2
0

SWDEV-446760 - check image support before running array tests

Change-Id: I1eca9bdbfb20567137c7c17ab649555938fc6e60


[ROCm/hip-tests commit: ec11b79b12]
Este cometimento está contido em:
Jatin Chaudhary
2024-02-21 16:03:53 +00:00
cometido por Rakesh Roy
ascendente c9991341dc
cometimento 4b6fb4fff4
2 ficheiros modificados com 4 adições e 0 eliminações
@@ -40,6 +40,8 @@ THE SOFTWARE.
* - HIP_VERSION >= 5.7
*/
TEST_CASE("Unit_hipDestroySurfaceObject_Negative_Parameters") {
CHECK_IMAGE_SUPPORT
SECTION("surfObject is NULL") {
HIP_CHECK(hipDestroySurfaceObject(static_cast<hipSurfaceObject_t>(0)));
}