Commit 32033d85 authored by Umang Yadav's avatar Umang Yadav
Browse files

Add back floatequal

parent f975c633
...@@ -22,7 +22,10 @@ ...@@ -22,7 +22,10 @@
#ifndef MIGRAPHX_GUARD_KERNELS_FLOAT8_HPP #ifndef MIGRAPHX_GUARD_KERNELS_FLOAT8_HPP
#define MIGRAPHX_GUARD_KERNELS_FLOAT8_HPP #define MIGRAPHX_GUARD_KERNELS_FLOAT8_HPP
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wfloat-equal"
#endif // __clang__
#define MIGRAPHX_HIP_DEVICE __device__ #define MIGRAPHX_HIP_DEVICE __device__
// We are clipping in down conversion by default // We are clipping in down conversion by default
...@@ -480,4 +483,8 @@ class numeric_limits<fp8e5m2> ...@@ -480,4 +483,8 @@ class numeric_limits<fp8e5m2>
} // namespace fp8 } // namespace fp8
} // namespace migraphx } // namespace migraphx
// ================================================================================================= // =================================================================================================
#if defined(__clang__)
#pragma clang diagnostic pop
#endif // __clang__
#endif // MIGRAPHX_GUARD_KERNELS_FLOAT8_HPP #endif // MIGRAPHX_GUARD_KERNELS_FLOAT8_HPP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment