Sha256: 252d73bc3acd864780a1c6afaad52240b0daa756945e8b35d7841157d988a92a

Contents?: true

Size: 1.21 KB

Versions: 16

Compression:

Stored size: 1.21 KB

Contents

//  (C) Copyright Eric Jourdanneau, Joel Falcou 2010
//  Use, modification and distribution are subject to 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 for most recent version.

//  NVIDIA CUDA C++ compiler setup

#ifndef BOOST_COMPILER
#  define BOOST_COMPILER "NVIDIA CUDA C++ Compiler"
#endif

// NVIDIA Specific support
// BOOST_GPU_ENABLED : Flag a function or a method as being enabled on the host and device
#define BOOST_GPU_ENABLED __host__ __device__

// A bug in version 7.0 of CUDA prevents use of variadic templates in some occasions
// https://svn.boost.org/trac/boost/ticket/11897
// This is fixed in 7.5. As the following version macro was introduced in 7.5 an existance
// check is enough to detect versions < 7.5
#if !defined(__CUDACC_VER__) || (__CUDACC_VER__ < 70500)
#   define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#endif
// The same bug is back again in 8.0:
#if (__CUDACC_VER__ > 80000) && (__CUDACC_VER__ < 80100)
#   define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#endif
// Most recent CUDA (8.0) has no constexpr support in msvc mode:
#if defined(_MSC_VER)
#  define BOOST_NO_CXX11_CONSTEXPR
#endif

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
passenger-5.3.3 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.3.2 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.3.1 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.3.0 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.2.3 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.2.2 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.2.1 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.2.0 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.12 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.11 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.10 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.9 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.8 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.7 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.6 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp
passenger-5.1.5 src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp