diff options
author | Gunes Bayir <gunes.bayir@arm.com> | 2023-10-09 19:32:20 +0100 |
---|---|---|
committer | Gunes Bayir <gunes.bayir@arm.com> | 2023-10-10 09:08:52 +0000 |
commit | b6718c898b1197da4c628b8a380450fb74d8f64e (patch) | |
tree | ecd920a96224e1403eb700ab273c2c6554870296 /src | |
parent | 3af4c9bcd90f60547b38c20c2aad308ff6d6a036 (diff) | |
download | ComputeLibrary-b6718c898b1197da4c628b8a380450fb74d8f64e.tar.gz |
Fix compilation error caused by ambiguous std::abs call
Resolves: COMPMID-6583
Change-Id: Icb760b57df1e4573e5009e41ee13ada869acc687
Signed-off-by: Gunes Bayir <gunes.bayir@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10457
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/utils/helpers/float_ops.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/utils/helpers/float_ops.h b/src/core/utils/helpers/float_ops.h index 7f7fbd13bf..487496915a 100644 --- a/src/core/utils/helpers/float_ops.h +++ b/src/core/utils/helpers/float_ops.h @@ -21,11 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H -#define ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H +#ifndef ACL_SRC_CORE_UTILS_HELPERS_FLOAT_OPS_H +#define ACL_SRC_CORE_UTILS_HELPERS_FLOAT_OPS_H #include <cmath> #include <cstdint> +#include <cstdlib> namespace arm_compute { @@ -115,4 +116,4 @@ inline bool is_zero(float a, float epsilon = 0.00001f) } // namespace float_ops } // namespace helpers } // namespace arm_compute -#endif /* ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H */ +#endif // ACL_SRC_CORE_UTILS_HELPERS_FLOAT_OPS_H |