2 #ifndef BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED
3 #define BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED
5 // Copyright Eric Niebler 2014
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 // See http://www.boost.org/libs/mpl for documentation.
17 #include <boost/config.hpp>
19 #if !defined(BOOST_MPL_CFG_GPU_ENABLED) \
21 # define BOOST_MPL_CFG_GPU_ENABLED BOOST_GPU_ENABLED
25 #if defined __CUDACC__
27 # define BOOST_MPL_CFG_GPU 1
31 # define BOOST_MPL_CFG_GPU 0
35 #endif // BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED