diff --git a/catch/unit/module/hipModuleGetTexRef.cc b/catch/unit/module/hipModuleGetTexRef.cc index 1b3c8a50b4..651856bf31 100644 --- a/catch/unit/module/hipModuleGetTexRef.cc +++ b/catch/unit/module/hipModuleGetTexRef.cc @@ -31,12 +31,14 @@ static hipModule_t GetModule() { } TEST_CASE("Unit_hipModuleGetTexRef_Positive_Basic") { + CHECK_IMAGE_SUPPORT hipTexRef tex_ref = nullptr; HIP_CHECK(hipModuleGetTexRef(&tex_ref, GetModule(), "tex")); REQUIRE(tex_ref != nullptr); } TEST_CASE("Unit_hipModuleGetTexRef_Negative_Parameters") { + CHECK_IMAGE_SUPPORT hipModule_t module = GetModule(); hipTexRef tex_ref = nullptr; @@ -54,12 +56,14 @@ TEST_CASE("Unit_hipModuleGetTexRef_Negative_Parameters") { } TEST_CASE("Unit_hipModuleGetTexRef_Negative_Hmod_Is_Nullptr") { + CHECK_IMAGE_SUPPORT hipTexRef tex_ref = nullptr; HIP_CHECK_ERROR(hipModuleGetTexRef(&tex_ref, nullptr, "tex"), hipErrorInvalidResourceHandle); } TEST_CASE("Unit_hipModuleGetTexRef_Negative_Name_Is_Empty_String") { + CHECK_IMAGE_SUPPORT hipModule_t module = GetModule(); hipTexRef tex_ref = nullptr;