From: Roland Schulz Date: Thu, 24 Jan 2019 23:42:55 +0000 (-0800) Subject: Work-around for ICC bug in simd-tests X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=c5d43b685a5d71b34f8a78412685f7694f94867c;p=alexxy%2Fgromacs.git Work-around for ICC bug in simd-tests Only affects test harnest so isn't critical but confuses users with false positive unit test. Change-Id: Ida7f8f1dbc8da32bb960d5fa3550531a94cc2dab --- diff --git a/src/gromacs/simd/tests/simd_floatingpoint_util.cpp b/src/gromacs/simd/tests/simd_floatingpoint_util.cpp index c229fb37c8..472808fb73 100644 --- a/src/gromacs/simd/tests/simd_floatingpoint_util.cpp +++ b/src/gromacs/simd/tests/simd_floatingpoint_util.cpp @@ -1,7 +1,7 @@ /* * This file is part of the GROMACS molecular simulation package. * - * Copyright (c) 2015,2017, by the GROMACS development team, led by + * Copyright (c) 2015,2017,2019, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://www.gromacs.org. @@ -467,6 +467,9 @@ TEST_F(SimdFloatingpointUtilTest, transposeScatterDecrU3Overlapping) mem0_[j] = refmem[j] = (1000.0 + j) * (1.0 + 100*GMX_REAL_EPS); } +#ifdef __INTEL_COMPILER //Bug in (at least) 19u1 and 18u5 (03424712) + #pragma novector +#endif for (std::size_t j = 0; j < GMX_SIMD_REAL_WIDTH; j++) { // Subtract values from _reference_ memory (we will then test with mem0_, and compare)