Removing static version asserts. (#347)

It is causing failures on our internal builds

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: f9ae806b78]
This commit is contained in:
David Galiffi
2024-06-15 03:03:08 -04:00
committed by GitHub
parent 8e39fd3cab
commit a8595dc524
@@ -51,17 +51,6 @@
#if OMNITRACE_USE_HIP > 0
# include <timemory/components/hip/backends.hpp>
static_assert(OMNITRACE_HIP_VERSION_MAJOR == HIP_VERSION_MAJOR,
"OMNITRACE_HIP_VERSION_MAJOR (detected by cmake) != HIP_VERSION_MAJOR "
"(from <hip/hip_version.h>)");
# 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 <hip/hip_version.h>)");
# endif
# if !defined(OMNITRACE_HIP_RUNTIME_CALL)
# define OMNITRACE_HIP_RUNTIME_CALL(err) \
{ \