Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:59

0001 
0002 #ifndef BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED
0004 
0005 // Copyright Eric Niebler 2014
0006 //
0007 // Distributed under the Boost Software License, Version 1.0.
0008 // (See accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 // See http://www.boost.org/libs/mpl for documentation.
0012 
0013 // $Id$
0014 // $Date$
0015 // $Revision$
0016 
0017 #include <boost/config.hpp>
0018 
0019 #if !defined(BOOST_MPL_CFG_GPU_ENABLED) \
0020 
0021 #   define BOOST_MPL_CFG_GPU_ENABLED BOOST_GPU_ENABLED
0022 
0023 #endif
0024 
0025 #if defined __CUDACC__
0026 
0027 #    define BOOST_MPL_CFG_GPU 1
0028 
0029 #else
0030 
0031 #    define BOOST_MPL_CFG_GPU 0
0032 
0033 #endif
0034 
0035 #endif // BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED