<?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 I've tried compiling .cls in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012484#M3077</link>
    <description>&lt;P&gt;I've tried compiling .cls indivually (for gpu, CL version 1.2) and u&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;sing the -link option,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;From the ioc32 command line&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;this give a linkage error with no additional info.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Using OpenCL Code Builder. I compile the .cls and save as binary irs. If I select these and link I get an error 'No binary data found to save. Make sure you build/compile first"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Are there any build/link options I need to specify apart from setting -cl-std to CL1.2 in build options?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Feb 2015 16:37:21 GMT</pubDate>
    <dc:creator>Mike_B_4</dc:creator>
    <dc:date>2015-02-17T16:37:21Z</dc:date>
    <item>
      <title>Build multiple .cl files into single .ir</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012482#M3075</link>
      <description>&lt;P&gt;I am implementing a number of kernels. I have a requirement that these are built into a single .ir. However. I would like to keep my kernels in separate .cl files.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Is it possible, via ioc32 cmd line, to build separate cl files into a single .ir&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:43:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012482#M3075</guid>
      <dc:creator>Mike_B_4</dc:creator>
      <dc:date>2015-02-17T14:43:55Z</dc:date>
    </item>
    <item>
      <title>Please take a look at the</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012483#M3076</link>
      <description>&lt;P&gt;Please take a look at the following thread: &lt;A href="https://software.intel.com/en-us/forums/topic/540194"&gt;https://software.intel.com/en-us/forums/topic/540194&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can concatenate multiple .cl files as a preprocessing step.&lt;/P&gt;

&lt;P&gt;Alternatively, you can -compile individual .cl files and then -link (multiple files could be provided: see below)&lt;/P&gt;

&lt;P&gt;&lt;FONT size="1"&gt;-binary="&amp;lt;binary_files_paths&amp;gt;" - Link binary files, comma seperated if &lt;/FONT&gt;&lt;FONT size="1"&gt;more than one (use with 'link' command)&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 16:28:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012483#M3076</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2015-02-17T16:28:59Z</dc:date>
    </item>
    <item>
      <title>I've tried compiling .cls</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012484#M3077</link>
      <description>&lt;P&gt;I've tried compiling .cls indivually (for gpu, CL version 1.2) and u&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;sing the -link option,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;From the ioc32 command line&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;this give a linkage error with no additional info.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Using OpenCL Code Builder. I compile the .cls and save as binary irs. If I select these and link I get an error 'No binary data found to save. Make sure you build/compile first"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Are there any build/link options I need to specify apart from setting -cl-std to CL1.2 in build options?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 16:37:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012484#M3077</guid>
      <dc:creator>Mike_B_4</dc:creator>
      <dc:date>2015-02-17T16:37:21Z</dc:date>
    </item>
    <item>
      <title>Use -spir64 option to output</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012485#M3078</link>
      <description>&lt;P&gt;Use -spir64 option to output spir files: you wouldn't be able to link ir files.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 16:42:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Build-multiple-cl-files-into-single-ir/m-p/1012485#M3078</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2015-02-17T16:42:21Z</dc:date>
    </item>
  </channel>
</rss>

