Chris@102: Chris@102: #ifndef BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED Chris@102: #define BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED Chris@102: Chris@102: // Copyright Eric Niebler 2014 Chris@102: // Chris@102: // Distributed under the Boost Software License, Version 1.0. Chris@102: // (See accompanying file LICENSE_1_0.txt or copy at Chris@102: // http://www.boost.org/LICENSE_1_0.txt) Chris@102: // Chris@102: // See http://www.boost.org/libs/mpl for documentation. Chris@102: Chris@102: // $Id$ Chris@102: // $Date$ Chris@102: // $Revision$ Chris@102: Chris@102: #include Chris@102: Chris@102: #if !defined(BOOST_MPL_CFG_GPU_ENABLED) \ Chris@102: Chris@102: # define BOOST_MPL_CFG_GPU_ENABLED BOOST_GPU_ENABLED Chris@102: Chris@102: #endif Chris@102: Chris@102: #if defined __CUDACC__ Chris@102: Chris@102: # define BOOST_MPL_CFG_GPU 1 Chris@102: Chris@102: #else Chris@102: Chris@102: # define BOOST_MPL_CFG_GPU 0 Chris@102: Chris@102: #endif Chris@102: Chris@102: #endif // BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED