SWDEV-523137 - Enable and fix failing tests on NV (#602)

Этот коммит содержится в:
systems-assistant[bot]
2025-10-24 12:41:54 +02:00
коммит произвёл GitHub
родитель 48313b8655
Коммит 196086042d
14 изменённых файлов: 76 добавлений и 67 удалений
+5 -1
Просмотреть файл
@@ -24,6 +24,8 @@ THE SOFTWARE.
#include <hip_test_common.hh>
#include <hip/hip_runtime_api.h>
#if defined(__HIP_PLATFORM_AMD__) || CUDA_VERSION < CUDA_12000
static hipModule_t GetModule() {
HIP_CHECK(hipFree(nullptr));
static const auto mg = ModuleGuard::LoadModule("get_tex_ref_module.code");
@@ -68,4 +70,6 @@ TEST_CASE("Unit_hipModuleGetTexRef_Negative_Name_Is_Empty_String") {
hipTexRef tex_ref = nullptr;
HIP_CHECK_ERROR(hipModuleGetTexRef(&tex_ref, module, ""), hipErrorInvalidValue);
}
}
#endif