annotate DEPENDENCIES/generic/include/boost/mpl/aux_/config/gpu.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1
Chris@102 2 #ifndef BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED
Chris@102 3 #define BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED
Chris@102 4
Chris@102 5 // Copyright Eric Niebler 2014
Chris@102 6 //
Chris@102 7 // Distributed under the Boost Software License, Version 1.0.
Chris@102 8 // (See accompanying file LICENSE_1_0.txt or copy at
Chris@102 9 // http://www.boost.org/LICENSE_1_0.txt)
Chris@102 10 //
Chris@102 11 // See http://www.boost.org/libs/mpl for documentation.
Chris@102 12
Chris@102 13 // $Id$
Chris@102 14 // $Date$
Chris@102 15 // $Revision$
Chris@102 16
Chris@102 17 #include <boost/config.hpp>
Chris@102 18
Chris@102 19 #if !defined(BOOST_MPL_CFG_GPU_ENABLED) \
Chris@102 20
Chris@102 21 # define BOOST_MPL_CFG_GPU_ENABLED BOOST_GPU_ENABLED
Chris@102 22
Chris@102 23 #endif
Chris@102 24
Chris@102 25 #if defined __CUDACC__
Chris@102 26
Chris@102 27 # define BOOST_MPL_CFG_GPU 1
Chris@102 28
Chris@102 29 #else
Chris@102 30
Chris@102 31 # define BOOST_MPL_CFG_GPU 0
Chris@102 32
Chris@102 33 #endif
Chris@102 34
Chris@102 35 #endif // BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED