<?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 is embree passing aligned function arguments and still does work? in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/How-is-embree-passing-aligned-function-arguments-and-still-does/m-p/953036#M232</link>
    <description>&lt;P&gt;I noticed in the file heuristic_binning.h, there's a type&amp;nbsp;PrimInfo, whose c'tor accepts BBox3f by value, this will invoke a copy c'tor, but BBox3f has alignment inherited via Vec3f&amp;lt;float&amp;gt;. This shoud trigger and error with the MS compiler (error C2719), but it actully does not. Anyone care to explain why? Disabled somehow?&lt;/P&gt;</description>
    <pubDate>Mon, 19 Nov 2012 19:13:17 GMT</pubDate>
    <dc:creator>Emil_K_</dc:creator>
    <dc:date>2012-11-19T19:13:17Z</dc:date>
    <item>
      <title>How is embree passing aligned function arguments and still does work?</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/How-is-embree-passing-aligned-function-arguments-and-still-does/m-p/953036#M232</link>
      <description>&lt;P&gt;I noticed in the file heuristic_binning.h, there's a type&amp;nbsp;PrimInfo, whose c'tor accepts BBox3f by value, this will invoke a copy c'tor, but BBox3f has alignment inherited via Vec3f&amp;lt;float&amp;gt;. This shoud trigger and error with the MS compiler (error C2719), but it actully does not. Anyone care to explain why? Disabled somehow?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2012 19:13:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/How-is-embree-passing-aligned-function-arguments-and-still-does/m-p/953036#M232</guid>
      <dc:creator>Emil_K_</dc:creator>
      <dc:date>2012-11-19T19:13:17Z</dc:date>
    </item>
    <item>
      <title>Using the MS compiler values</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/How-is-embree-passing-aligned-function-arguments-and-still-does/m-p/953037#M233</link>
      <description>&lt;P&gt;Using the MS compiler values passed by value will not be properly aligned. As a workaround one has to pass all values by reference that need alignment. I fixed that bug in the git repository of Embree, check it out here embree.github.com&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 09:07:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/How-is-embree-passing-aligned-function-arguments-and-still-does/m-p/953037#M233</guid>
      <dc:creator>SvenW_Intel</dc:creator>
      <dc:date>2013-01-18T09:07:12Z</dc:date>
    </item>
  </channel>
</rss>

