<?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>тема Intel Kernel Builder, Assigning Value to Buffers в OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Kernel-Builder-Assigning-Value-to-Buffers/m-p/771307#M171</link>
    <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I just downloaded Intel OpenCL SDK 2013 beta and tried using the new Kernel Builder.&lt;BR /&gt;My question is how do you assign value to a buffer using a .csv file? What is the format?&lt;BR /&gt;It's easy to assign an image because the format is in .bmp and is an image file, but how&lt;BR /&gt;do you put buffer's values to a .csv table?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Wed, 08 Aug 2012 02:45:29 GMT</pubDate>
    <dc:creator>ardiyu07</dc:creator>
    <dc:date>2012-08-08T02:45:29Z</dc:date>
    <item>
      <title>Intel Kernel Builder, Assigning Value to Buffers</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Kernel-Builder-Assigning-Value-to-Buffers/m-p/771307#M171</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I just downloaded Intel OpenCL SDK 2013 beta and tried using the new Kernel Builder.&lt;BR /&gt;My question is how do you assign value to a buffer using a .csv file? What is the format?&lt;BR /&gt;It's easy to assign an image because the format is in .bmp and is an image file, but how&lt;BR /&gt;do you put buffer's values to a .csv table?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 08 Aug 2012 02:45:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Kernel-Builder-Assigning-Value-to-Buffers/m-p/771307#M171</guid>
      <dc:creator>ardiyu07</dc:creator>
      <dc:date>2012-08-08T02:45:29Z</dc:date>
    </item>
    <item>
      <title>Intel Kernel Builder, Assigning Value to Buffers</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Kernel-Builder-Assigning-Value-to-Buffers/m-p/771308#M172</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The CSV file format is as follows:&lt;BR /&gt;Each line is one entry to the buffer. Inside each line, each column is a single element in the buffer's type, for example a float as part of a float4 entry.&lt;BR /&gt;&lt;BR /&gt;So, for example, to represent a buffer of 2 float4 numbers your CSV can look like this:&lt;BR /&gt;0.1,0.2,0.3,0.4&lt;BR /&gt;1.1,1.2,1.3,1.4&lt;BR /&gt;&lt;BR /&gt;Note that your CSV can have more columns and more lines than you'd use in your kernel, so you can create one CSV for multiple usages (float, float2, float3...float16) and with as many lines as you'd like, and when you create your kernel's argument limit its usage to your specific needs. For example, if you have 16 columns (for float16) and 1024 of such lines, but you need a float4 of 512 elements, you can use the same CSV, and your kernel will get the first 4 elements of each of the 512 lines only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Oren Sarid&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2012 06:33:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Kernel-Builder-Assigning-Value-to-Buffers/m-p/771308#M172</guid>
      <dc:creator>Oren_S_Intel1</dc:creator>
      <dc:date>2012-08-08T06:33:10Z</dc:date>
    </item>
  </channel>
</rss>

