<?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 Re: CUDA with RealSense SDK2.0 in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565929#M9715</link>
    <description>&lt;P&gt;I wonder if Visual Studio's project linkages were broken by changing the filenames.  You could perhaps link to the new filenames   I gave someone some advice on this recently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;</description>
    <pubDate>Sun, 10 Jun 2018 11:54:26 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2018-06-10T11:54:26Z</dc:date>
    <item>
      <title>CUDA with RealSense SDK2.0</title>
      <link>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565926#M9712</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to replace align.cpp and align.h with &lt;A href="http://align.cu"&gt;align.cu&lt;/A&gt; and align.cuh, respectively for using CUDA. I have not made any change in their source codes -- just the name of files. I could activate the CUDA option on CMake. When building realsense2.dll on Visual Studio 2015, however, it gives me errors such as the following ones:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C2039   'HostingClass': "global namespace" is not a member .&lt;/P&gt;&lt;P&gt;C2433   'librealsense:HostingClass': 'friend' cannot be use to declare data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seem either that the &lt;A href="http://align.cu"&gt;align.cu&lt;/A&gt; and align.cuh are not compiled correctly or that these files are not linked to other C++ files correctly. Can anyone guess what changes I need to make?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 10:28:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565926#M9712</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-06-10T10:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: CUDA with RealSense SDK2.0</title>
      <link>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565927#M9713</link>
      <description>&lt;P&gt;The potential for errors when changing filenames is very high, as you have to make sure that absolutely every reference to the previous filename is changed.  I have found in Visual Studio that mass-changing filenames automatically using Find and Replace All can cause a big mess in the code.  It works better if you just Find In File so that a list of all the references appears in a list at the bottom of the Visual Studio window, and then click on and edit each reference in the list individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regard to general advice when using SDK 2.0 with ARM:  It may help if you are using the most recent version of SDK 2.0 (currently 2.12.0).  A few versions back in version 2.11.0, a bug-fix for compiling on ARM was added.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 11:05:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565927#M9713</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-06-10T11:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: CUDA with RealSense SDK2.0</title>
      <link>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565928#M9714</link>
      <description>&lt;P&gt;Thanks MartyG. Following your advice, I used File in Files but the change in file names was not an issue -- I still got the same set of errors. Thanks anyway.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 11:43:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565928#M9714</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-06-10T11:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: CUDA with RealSense SDK2.0</title>
      <link>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565929#M9715</link>
      <description>&lt;P&gt;I wonder if Visual Studio's project linkages were broken by changing the filenames.  You could perhaps link to the new filenames   I gave someone some advice on this recently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 11:54:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565929#M9715</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-06-10T11:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: CUDA with RealSense SDK2.0</title>
      <link>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565930#M9716</link>
      <description>&lt;P&gt;MartyG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. I just changed the file name from align.cpp to alignM.cpp as well as from aligh.h to alignM.h. After changing # include "align.h" to # include "alignM.h" in align.cpp and rs.cpp, I succeeded in building the SDK on Visual Studio. So, the issue I mentioned earlier seems to come from other factors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I asked a similar question on a CUDA forum and will see if anyone gives me some advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 01:30:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565930#M9716</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-06-11T01:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: CUDA with RealSense SDK2.0</title>
      <link>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565931#M9717</link>
      <description>&lt;P&gt;Thanks for the update, TK!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 05:56:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/CUDA-with-RealSense-SDK2-0/m-p/565931#M9717</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-06-11T05:56:54Z</dc:date>
    </item>
  </channel>
</rss>

