1 // (C) Copyright Eric Jourdanneau, Joel Falcou 2010
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org for most recent version.
8 // NVIDIA CUDA C++ compiler setup
10 #ifndef BOOST_COMPILER
11 # define BOOST_COMPILER "NVIDIA CUDA C++ Compiler"
14 // NVIDIA Specific support
15 // BOOST_GPU_ENABLED : Flag a function or a method as being enabled on the host and device
16 #define BOOST_GPU_ENABLED __host__ __device__
18 // Boost support macro for NVCC
19 // NVCC Basically behaves like some flavor of MSVC6 + some specific quirks
22 #include <boost/config/compiler/gcc.hpp>
24 #elif defined(_MSC_VER)
26 #include <boost/config/compiler/visualc.hpp>