From a2cf99ec6f8f5f20ca0772e2fbe2145230690c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= Date: Thu, 4 Jan 2024 17:29:37 +0000 Subject: [PATCH] Fix GPU+clang+asan. --- Eigen/src/Core/GenericPacketMath.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h index 593633665..3a302c077 100644 --- a/Eigen/src/Core/GenericPacketMath.h +++ b/Eigen/src/Core/GenericPacketMath.h @@ -612,11 +612,7 @@ struct pminmax_impl { } }; -#ifndef SYCL_DEVICE_ONLY -#define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) Func -#else #define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) [](const Type& a, const Type& b) { return Func(a, b); } -#endif /** \internal \returns the min of \a a and \a b (coeff-wise). If \a a or \b b is NaN, the return value is implementation defined. */