From f9ae806b788044ab38131b443cff2f6ddae0c1c3 Mon Sep 17 00:00:00 2001 From: David Galiffi Date: Sat, 15 Jun 2024 03:03:08 -0400 Subject: [PATCH] Removing static version asserts. (#347) It is causing failures on our internal builds Signed-off-by: David Galiffi --- source/lib/core/gpu.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/source/lib/core/gpu.cpp b/source/lib/core/gpu.cpp index ffd848a7b..d56dc7bbd 100644 --- a/source/lib/core/gpu.cpp +++ b/source/lib/core/gpu.cpp @@ -51,17 +51,6 @@ #if OMNITRACE_USE_HIP > 0 # include -static_assert(OMNITRACE_HIP_VERSION_MAJOR == HIP_VERSION_MAJOR, - "OMNITRACE_HIP_VERSION_MAJOR (detected by cmake) != HIP_VERSION_MAJOR " - "(from )"); - -# if OMNITRACE_HIP_VERSION_MAJOR >= 5 -// HIP versions 4.x and older have unreliable values for HIP_VERSION_MINOR -static_assert(OMNITRACE_HIP_VERSION_MINOR == HIP_VERSION_MINOR, - "OMNITRACE_HIP_VERSION_MINOR (detected by cmake) != HIP_VERSION_MINOR " - "(from )"); -# endif - # if !defined(OMNITRACE_HIP_RUNTIME_CALL) # define OMNITRACE_HIP_RUNTIME_CALL(err) \ { \