File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_ARCHITECTURE_PTX_H
0009 #define BOOST_PREDEF_ARCHITECTURE_PTX_H
0010
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #define BOOST_ARCH_PTX BOOST_VERSION_NUMBER_NOT_AVAILABLE
0030
0031 #if defined(__CUDA_ARCH__)
0032 # undef BOOST_ARCH_PTX
0033 # define BOOST_ARCH_PTX BOOST_PREDEF_MAKE_10_VR0(__CUDA_ARCH__)
0034 #endif
0035
0036 #if BOOST_ARCH_PTX
0037 # define BOOST_ARCH_PTX_AVAILABLE
0038 #endif
0039
0040 #if BOOST_ARCH_PTX
0041 # undef BOOST_ARCH_WORD_BITS_64
0042 # define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
0043 #endif
0044
0045 #define BOOST_ARCH_PTX_NAME "PTX"
0046
0047 #endif
0048
0049 #include <boost/predef/detail/test.h>
0050 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PTX,BOOST_ARCH_PTX_NAME)