annotate DEPENDENCIES/generic/include/boost/atomic/detail/config.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@101 1 /*
Chris@101 2 * Distributed under the Boost Software License, Version 1.0.
Chris@101 3 * (See accompanying file LICENSE_1_0.txt or copy at
Chris@101 4 * http://www.boost.org/LICENSE_1_0.txt)
Chris@101 5 *
Chris@101 6 * Copyright (c) 2012 Hartmut Kaiser
Chris@101 7 * Copyright (c) 2014 Andrey Semashev
Chris@101 8 */
Chris@101 9 /*!
Chris@101 10 * \file atomic/detail/config.hpp
Chris@101 11 *
Chris@101 12 * This header defines configuraion macros for Boost.Atomic
Chris@101 13 */
Chris@16 14
Chris@101 15 #ifndef BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_
Chris@101 16 #define BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_
Chris@16 17
Chris@16 18 #include <boost/config.hpp>
Chris@16 19
Chris@16 20 #ifdef BOOST_HAS_PRAGMA_ONCE
Chris@16 21 #pragma once
Chris@16 22 #endif
Chris@16 23
Chris@101 24 #if defined(__CUDACC__)
Chris@101 25 // nvcc does not support alternatives in asm statement constraints
Chris@101 26 #define BOOST_ATOMIC_DETAIL_NO_ASM_CONSTRAINT_ALTERNATIVES
Chris@101 27 // nvcc does not support condition code register ("cc") clobber in asm statements
Chris@101 28 #define BOOST_ATOMIC_DETAIL_NO_ASM_CLOBBER_CC
Chris@16 29 #endif
Chris@101 30
Chris@101 31 #if !defined(BOOST_ATOMIC_DETAIL_NO_ASM_CLOBBER_CC)
Chris@101 32 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC "cc"
Chris@101 33 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA "cc",
Chris@101 34 #else
Chris@101 35 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC
Chris@101 36 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA
Chris@101 37 #endif
Chris@101 38
Chris@101 39 #endif // BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_