<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Listing preprocessor defines in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Listing-preprocessor-defines/m-p/800965#M803</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your post.&lt;/P&gt;&lt;P&gt;In the current Intel OpenCL SDK there is no pre-defined macro that helps the user identify that he runs on an Intel platform. I'll check this request, and we might add a macro like that in the future.&lt;/P&gt;&lt;P&gt;In the meantime, you might solve this issue by using the clGetPlatformInfo API to query the OpenCL runtime for the platform name, and then passing a macro of your choice by using the "-D" build option.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Guy Benyei&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2012 07:36:12 GMT</pubDate>
    <dc:creator>Guy_B_Intel</dc:creator>
    <dc:date>2012-03-06T07:36:12Z</dc:date>
    <item>
      <title>Listing preprocessor defines</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Listing-preprocessor-defines/m-p/800964#M802</link>
      <description>Anyone know if it's possible to list what the Intel OpenCL C compiler defines for preprocessing? I'm looking for something like __INTEL__ (this doesn't seem to be defined).</description>
      <pubDate>Mon, 27 Feb 2012 18:39:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Listing-preprocessor-defines/m-p/800964#M802</guid>
      <dc:creator>Benjamin_Karl_B_</dc:creator>
      <dc:date>2012-02-27T18:39:34Z</dc:date>
    </item>
    <item>
      <title>Listing preprocessor defines</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Listing-preprocessor-defines/m-p/800965#M803</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your post.&lt;/P&gt;&lt;P&gt;In the current Intel OpenCL SDK there is no pre-defined macro that helps the user identify that he runs on an Intel platform. I'll check this request, and we might add a macro like that in the future.&lt;/P&gt;&lt;P&gt;In the meantime, you might solve this issue by using the clGetPlatformInfo API to query the OpenCL runtime for the platform name, and then passing a macro of your choice by using the "-D" build option.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Guy Benyei&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 07:36:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Listing-preprocessor-defines/m-p/800965#M803</guid>
      <dc:creator>Guy_B_Intel</dc:creator>
      <dc:date>2012-03-06T07:36:12Z</dc:date>
    </item>
  </channel>
</rss>

