Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76097 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2011-12-21 12:43:56


Author: johnmaddock
Date: 2011-12-21 12:43:55 EST (Wed, 21 Dec 2011)
New Revision: 76097
URL: http://svn.boost.org/trac/boost/changeset/76097

Log:
Disable SSE2 instruction support under the CUDA compiler.
Fixes #6234.
Text files modified:
   trunk/boost/math/special_functions/lanczos.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/special_functions/lanczos.hpp
==============================================================================
--- trunk/boost/math/special_functions/lanczos.hpp (original)
+++ trunk/boost/math/special_functions/lanczos.hpp 2011-12-21 12:43:55 EST (Wed, 21 Dec 2011)
@@ -1230,7 +1230,7 @@
 } // namespace math
 } // namespace boost
 
-#if !defined(_CRAYC) && (!defined(__GNUC__) || (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3)))
+#if !defined(_CRAYC) && !defined(__CUDACC__) && (!defined(__GNUC__) || (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3)))
 #if (defined(_M_IX86_FP) && (_M_IX86_FP >= 2)) || defined(__SSE2__)
 #include <boost/math/special_functions/detail/lanczos_sse2.hpp>
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk