platforms_and_compilers.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Platforms and Compilers</title>
  5. <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
  7. <link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Boost.Compute">
  8. <link rel="up" href="../index.html" title="Chapter&#160;1.&#160;Boost.Compute">
  9. <link rel="prev" href="porting_guide.html" title="Porting Guide">
  10. <link rel="next" href="reference.html" title="Reference">
  11. </head>
  12. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
  13. <table cellpadding="2" width="100%"><tr>
  14. <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
  15. <td align="center"><a href="../../../../../index.html">Home</a></td>
  16. <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
  17. <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
  18. <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
  19. <td align="center"><a href="../../../../../more/index.htm">More</a></td>
  20. </tr></table>
  21. <hr>
  22. <div class="spirit-nav">
  23. <a accesskey="p" href="porting_guide.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
  24. </div>
  25. <div class="section">
  26. <div class="titlepage"><div><div><h2 class="title" style="clear: both">
  27. <a name="boost_compute.platforms_and_compilers"></a><a class="link" href="platforms_and_compilers.html" title="Platforms and Compilers">Platforms and Compilers</a>
  28. </h2></div></div></div>
  29. <div class="toc"><dl class="toc">
  30. <dt><span class="section"><a href="platforms_and_compilers.html#boost_compute.platforms_and_compilers.compilers">Compilers</a></span></dt>
  31. <dt><span class="section"><a href="platforms_and_compilers.html#boost_compute.platforms_and_compilers.platforms">Platforms</a></span></dt>
  32. <dt><span class="section"><a href="platforms_and_compilers.html#boost_compute.platforms_and_compilers.opencl_implementations">OpenCL
  33. Implementations</a></span></dt>
  34. </dl></div>
  35. <p>
  36. Boost.Compute has been tested on the following:
  37. </p>
  38. <div class="section">
  39. <div class="titlepage"><div><div><h3 class="title">
  40. <a name="boost_compute.platforms_and_compilers.compilers"></a><a class="link" href="platforms_and_compilers.html#boost_compute.platforms_and_compilers.compilers" title="Compilers">Compilers</a>
  41. </h3></div></div></div>
  42. <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
  43. <li class="listitem">
  44. GCC (&gt;= 4.6)
  45. </li>
  46. <li class="listitem">
  47. Clang (&gt;= 3.0)
  48. </li>
  49. <li class="listitem">
  50. MSVC (&gt;= 2010)
  51. </li>
  52. </ul></div>
  53. <p>
  54. Boost.Compute requires variadic macro support. Variadic macros are supported
  55. by most modern C++98 compilers and all C++11 compilers.
  56. </p>
  57. <p>
  58. To explicitly enable variadic support for Boost.Preprocessor add <code class="computeroutput"><span class="special">-</span><span class="identifier">DBOOST_PP_VARIADICS</span><span class="special">=</span><span class="number">1</span></code> to your
  59. compiler flags.
  60. </p>
  61. </div>
  62. <div class="section">
  63. <div class="titlepage"><div><div><h3 class="title">
  64. <a name="boost_compute.platforms_and_compilers.platforms"></a><a class="link" href="platforms_and_compilers.html#boost_compute.platforms_and_compilers.platforms" title="Platforms">Platforms</a>
  65. </h3></div></div></div>
  66. <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
  67. <li class="listitem">
  68. Linux
  69. </li>
  70. <li class="listitem">
  71. Mac OSX
  72. </li>
  73. <li class="listitem">
  74. Windows
  75. </li>
  76. </ul></div>
  77. </div>
  78. <div class="section">
  79. <div class="titlepage"><div><div><h3 class="title">
  80. <a name="boost_compute.platforms_and_compilers.opencl_implementations"></a><a class="link" href="platforms_and_compilers.html#boost_compute.platforms_and_compilers.opencl_implementations" title="OpenCL Implementations">OpenCL
  81. Implementations</a>
  82. </h3></div></div></div>
  83. <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
  84. <li class="listitem">
  85. NVIDIA (NVIDIA GPUs only)
  86. </li>
  87. <li class="listitem">
  88. AMD (CPUs and AMD GPUs)
  89. </li>
  90. <li class="listitem">
  91. Intel (CPUs and Intel GPUs)
  92. </li>
  93. <li class="listitem">
  94. POCL (CPUs only)
  95. </li>
  96. <li class="listitem">
  97. Beignet (Intel GPUs only)
  98. </li>
  99. <li class="listitem">
  100. Apple (CPUs and GPUs)
  101. </li>
  102. <li class="listitem">
  103. Xilinx (FPGA)
  104. </li>
  105. </ul></div>
  106. </div>
  107. <p>
  108. If you have an additional platform you would like to see supported please
  109. <a href="https://github.com/boostorg/compute/issues/new" target="_top">submit</a>
  110. a bug-report.
  111. </p>
  112. </div>
  113. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  114. <td align="left"></td>
  115. <td align="right"><div class="copyright-footer">Copyright &#169; 2013, 2014 Kyle Lutz<p>
  116. Distributed under the Boost Software License, Version 1.0. (See accompanying
  117. file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
  118. </p>
  119. </div></td>
  120. </tr></table>
  121. <hr>
  122. <div class="spirit-nav">
  123. <a accesskey="p" href="porting_guide.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
  124. </div>
  125. </body>
  126. </html>