summaryrefslogtreecommitdiffstats
path: root/contrib/src/boost/mpl/aux_/config/gpu.hpp
blob: 61e6408d2f63637e2b24790b7f16314729b7639e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

#ifndef BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED

#define BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED


// Copyright Eric Niebler 2014

//

// Distributed under the Boost Software License, Version 1.0.

// (See accompanying file LICENSE_1_0.txt or copy at

// http://www.boost.org/LICENSE_1_0.txt)

//

// See http://www.boost.org/libs/mpl for documentation.


// $Id$

// $Date$

// $Revision$


#include <boost/config.hpp>


#if !defined(BOOST_MPL_CFG_GPU_ENABLED) \


#   define BOOST_MPL_CFG_GPU_ENABLED BOOST_GPU_ENABLED


#endif


#if defined __CUDACC__


#    define BOOST_MPL_CFG_GPU 1


#else


#    define BOOST_MPL_CFG_GPU 0


#endif


#endif // BOOST_MPL_AUX_CONFIG_GPU_HPP_INCLUDED