This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
Vitor Santos Costa a8eda03305 4.2.1 support
2014-01-22 09:41:47 +00:00

66 lines
6.3 KiB
XML

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6">
<compounddef id="nvcc_8hpp" kind="file">
<compoundname>nvcc.hpp</compoundname>
<sectiondef kind="define">
<memberdef kind="define" id="nvcc_8hpp_1a78005f877b1cc90480de16ddfd9a0def" prot="public" static="no">
<name>BOOST_COMPILER</name>
<initializer>&quot;NVIDIA CUDA C++ Compiler&quot;</initializer>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="/usr/include/gecode/third-party/boost/config/compiler/nvcc.hpp" line="11" column="11" bodyfile="/usr/include/gecode/third-party/boost/config/compiler/nvcc.hpp" bodystart="11" bodyend="-1"/>
</memberdef>
<memberdef kind="define" id="nvcc_8hpp_1aa5e6d856eba16373f4766e7b1c3b1630" prot="public" static="no">
<name>BOOST_GPU_ENABLED</name>
<initializer>__host__ __device__</initializer>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="/usr/include/gecode/third-party/boost/config/compiler/nvcc.hpp" line="16" column="9" bodyfile="/usr/include/gecode/third-party/boost/config/compiler/nvcc.hpp" bodystart="16" bodyend="-1"/>
</memberdef>
</sectiondef>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<programlisting>
<codeline lineno="1"><highlight class="comment">//<sp/><sp/>(C)<sp/>Copyright<sp/>Eric<sp/>Jourdanneau,<sp/>Joel<sp/>Falcou<sp/>2010</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>Use,<sp/>modification<sp/>and<sp/>distribution<sp/>are<sp/>subject<sp/>to<sp/>the<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>Boost<sp/>Software<sp/>License,<sp/>Version<sp/>1.0.<sp/>(See<sp/>accompanying<sp/>file<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>LICENSE_1_0.txt<sp/>or<sp/>copy<sp/>at<sp/>http://www.boost.org/LICENSE_1_0.txt)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>See<sp/>http://www.boost.org<sp/>for<sp/>most<sp/>recent<sp/>version.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="7"><highlight class="normal"></highlight></codeline>
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="comment">//<sp/><sp/>NVIDIA<sp/>CUDA<sp/>C++<sp/>compiler<sp/>setup</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>BOOST_COMPILER</highlight></codeline>
<codeline lineno="11"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/><sp/>define<sp/>BOOST_COMPILER<sp/>&quot;NVIDIA<sp/>CUDA<sp/>C++<sp/>Compiler&quot;</highlight></codeline>
<codeline lineno="12"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="13"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="14"><highlight class="normal"></highlight><highlight class="comment">//<sp/>NVIDIA<sp/>Specific<sp/>support</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="15"><highlight class="normal"></highlight><highlight class="comment">//<sp/>BOOST_GPU_ENABLED<sp/>:<sp/>Flag<sp/>a<sp/>function<sp/>or<sp/>a<sp/>method<sp/>as<sp/>being<sp/>enabled<sp/>on<sp/>the<sp/>host<sp/>and<sp/>device</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>BOOST_GPU_ENABLED<sp/>__host__<sp/>__device__</highlight></codeline>
<codeline lineno="17"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Boost<sp/>support<sp/>macro<sp/>for<sp/>NVCC<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="comment">//<sp/>NVCC<sp/>Basically<sp/>behaves<sp/>like<sp/>some<sp/>flavor<sp/>of<sp/>MSVC6<sp/>+<sp/>some<sp/>specific<sp/>quirks</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__GNUC__</highlight></codeline>
<codeline lineno="21"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;gecode/third-party/boost/config/compiler/gcc.hpp&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(_MSC_VER)</highlight></codeline>
<codeline lineno="25"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;gecode/third-party/boost/config/compiler/visualc.hpp&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
</programlisting>
<location file="/usr/include/gecode/third-party/boost/config/compiler/nvcc.hpp"/>
</compounddef>
</doxygen>