Skip to content

Commit

Permalink
Removing static version asserts. (#347)
Browse files Browse the repository at this point in the history
It is causing failures on our internal builds

Signed-off-by: David Galiffi <[email protected]>
  • Loading branch information
dgaliffiAMD authored Jun 15, 2024
1 parent 74ed765 commit f9ae806
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions source/lib/core/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
{ \
Expand Down

0 comments on commit f9ae806

Please sign in to comment.