<?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 How to convert uint4 to unsigned int in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/How-to-convert-uint4-to-unsigned-int/m-p/784820#M485</link>
    <description>&lt;P&gt;Hi guys, &lt;BR /&gt;I am trying to copy an image from source to destination. I am using the readimageui() routine in the kernel and this returns uint4 type. So when using the writeimageui() I just want to write it as of type unsigned int. Then I can write it to the destination buffer which in the host code, is of type unsigned int.&lt;BR /&gt;Please tell me how do I convert the uint4 vector type to unsigned int..&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2012 18:25:20 GMT</pubDate>
    <dc:creator>nikey1</dc:creator>
    <dc:date>2012-07-12T18:25:20Z</dc:date>
    <item>
      <title>How to convert uint4 to unsigned int</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/How-to-convert-uint4-to-unsigned-int/m-p/784820#M485</link>
      <description>&lt;P&gt;Hi guys, &lt;BR /&gt;I am trying to copy an image from source to destination. I am using the readimageui() routine in the kernel and this returns uint4 type. So when using the writeimageui() I just want to write it as of type unsigned int. Then I can write it to the destination buffer which in the host code, is of type unsigned int.&lt;BR /&gt;Please tell me how do I convert the uint4 vector type to unsigned int..&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 18:25:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/How-to-convert-uint4-to-unsigned-int/m-p/784820#M485</guid>
      <dc:creator>nikey1</dc:creator>
      <dc:date>2012-07-12T18:25:20Z</dc:date>
    </item>
    <item>
      <title>How to convert uint4 to unsigned int</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/How-to-convert-uint4-to-unsigned-int/m-p/784821#M486</link>
      <description>&lt;P&gt;You can always access the components of the vector data type with 4 elements as &lt;VECTOR&gt;.xyzw. Basically uint4 is 4 unsigned ints in contiguous locations in memory and typically mapped to the underlying SIMD hardware. Hope that helps.&lt;BR /&gt;&lt;BR /&gt;Raghu&lt;/VECTOR&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2012 23:55:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/How-to-convert-uint4-to-unsigned-int/m-p/784821#M486</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2012-07-13T23:55:18Z</dc:date>
    </item>
  </channel>
</rss>

