<?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 Hi, in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/How-to-create-const-vector-variables-int4-float4-in-Kernel/m-p/985055#M2632</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In case you have a vector you want to assign, and it has repeating values (i.e. 1,1,1,1), Kernel Builder repeats the last value as many times as needed which might come in handy.&lt;/P&gt;
&lt;P&gt;Also, here's a link to the user guide in regards to variables, which might be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/sites/products/documentation/ioclsdk/2013/UG/index.htm"&gt;http://software.intel.com/sites/products/documentation/ioclsdk/2013/UG/index.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Oren&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2013 05:43:02 GMT</pubDate>
    <dc:creator>Oren_S_Intel1</dc:creator>
    <dc:date>2013-08-29T05:43:02Z</dc:date>
    <item>
      <title>How to create const vector variables(int4, float4, ...) in Kernel Builder</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/How-to-create-const-vector-variables-int4-float4-in-Kernel/m-p/985053#M2630</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Does any body know how to create const vector variables(int4, float4,...) in the Intel Kernel Builder? I had written&amp;nbsp;a kernel with const vector variables and wanted to analyze it with Intel Kernel Builder. However I do not find a way to create vector variables and assign them to the kernel. Does any one know how to get this done?&amp;nbsp;My kernel is written as:&lt;/P&gt;
&lt;P&gt;__kernel void sample_kernel(__global uchar4* pTarget, __global uchar4* pSource, const int2 whSize, const float4 iColor) &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;{ .... }&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 02:40:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/How-to-create-const-vector-variables-int4-float4-in-Kernel/m-p/985053#M2630</guid>
      <dc:creator>Jzhan59</dc:creator>
      <dc:date>2013-08-28T02:40:13Z</dc:date>
    </item>
    <item>
      <title>Hi freedayman,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/How-to-create-const-vector-variables-int4-float4-in-Kernel/m-p/985054#M2631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;freedayman,&lt;/P&gt;
&lt;P&gt;You can assigne vector variables to your kernel like this : value1,value2,value3,value4&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Mohamed&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 16:17:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/How-to-create-const-vector-variables-int4-float4-in-Kernel/m-p/985054#M2631</guid>
      <dc:creator>Mohamed_Amine_BERGAC</dc:creator>
      <dc:date>2013-08-28T16:17:36Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/How-to-create-const-vector-variables-int4-float4-in-Kernel/m-p/985055#M2632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In case you have a vector you want to assign, and it has repeating values (i.e. 1,1,1,1), Kernel Builder repeats the last value as many times as needed which might come in handy.&lt;/P&gt;
&lt;P&gt;Also, here's a link to the user guide in regards to variables, which might be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/sites/products/documentation/ioclsdk/2013/UG/index.htm"&gt;http://software.intel.com/sites/products/documentation/ioclsdk/2013/UG/index.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Oren&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 05:43:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/How-to-create-const-vector-variables-int4-float4-in-Kernel/m-p/985055#M2632</guid>
      <dc:creator>Oren_S_Intel1</dc:creator>
      <dc:date>2013-08-29T05:43:02Z</dc:date>
    </item>
  </channel>
</rss>

