<?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>tópico Compile and run Intels OpenCL Samples na OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Compile-and-run-Intels-OpenCL-Samples/m-p/788093#M542</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Machine: i3, 2,6 GHz Intel HD-Grafik, GT540M&lt;BR /&gt;OS:W7 64Bit&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;After the sucessful installation of intel_ocl_sdk_1.1_beta_win_x64 you find the samples normally in the following directory:&lt;BR /&gt;C:\\Users\\Public\\Documents\\Intel\\OpenCL SDK\\1.1\\samples&lt;BR /&gt;&lt;BR /&gt;There is a VisualStudio Solution file named "OpenCLSamples.sln"&lt;BR /&gt;&lt;BR /&gt;Open the Visual Studio VS2008(in my case) and open the solution file "OpenCLSamples.sln".&lt;BR /&gt;Open the Projectmap-Explorer, rightclick on the Projectmap and convert the project to use with Intel-Compiler.&lt;BR /&gt;Right click now on Projectmap and choose "Konfigurations-Manager"&lt;BR /&gt;Change "Projectmap Configuration" from "Debug" to "Release" and the "Active Projectplatform" from "Win32" to "x64".&lt;BR /&gt;like this picture show: &lt;A href="http://www.britta-d.de/images/intel_ocl/Konfigurations-Manager.jpg"&gt;http://www.britta-d.de/images/intel_ocl/Konfigurations-Manager.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Compile now the project. Compiler output as file "compiling_ocl_samples.txt"attached.&lt;BR /&gt;Now make a small batchfile like this:&lt;BR /&gt;&lt;P&gt;echo off&lt;BR /&gt;echo INTEL_OCL_SDK Samples&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;cd\\&lt;BR /&gt;cd C:\\Users\\Public\\Documents\\Intel\\OpenCL SDK\\1.1\\samples\\x64\\Release&lt;BR /&gt;echo BitonicSort&lt;BR /&gt;BitonicSort.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo DotProduct&lt;BR /&gt;DotProduct.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo GodRays&lt;BR /&gt;GodRays.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo MedianFilter&lt;BR /&gt;MedianFilter.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo TonMapping&lt;BR /&gt;ToneMapping.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;pause&lt;/P&gt;&lt;BR /&gt;-----------------------------------------------------&lt;BR /&gt;and run it.&lt;BR /&gt;&lt;BR /&gt;the output shows attachedfile "run_ocltest_output.txt"&lt;BR /&gt;&lt;BR /&gt;All this worked on the first try.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;_heinz</description>
    <pubDate>Fri, 15 Jul 2011 17:17:50 GMT</pubDate>
    <dc:creator>_heinz</dc:creator>
    <dc:date>2011-07-15T17:17:50Z</dc:date>
    <item>
      <title>Compile and run Intels OpenCL Samples</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compile-and-run-Intels-OpenCL-Samples/m-p/788093#M542</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Machine: i3, 2,6 GHz Intel HD-Grafik, GT540M&lt;BR /&gt;OS:W7 64Bit&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;After the sucessful installation of intel_ocl_sdk_1.1_beta_win_x64 you find the samples normally in the following directory:&lt;BR /&gt;C:\\Users\\Public\\Documents\\Intel\\OpenCL SDK\\1.1\\samples&lt;BR /&gt;&lt;BR /&gt;There is a VisualStudio Solution file named "OpenCLSamples.sln"&lt;BR /&gt;&lt;BR /&gt;Open the Visual Studio VS2008(in my case) and open the solution file "OpenCLSamples.sln".&lt;BR /&gt;Open the Projectmap-Explorer, rightclick on the Projectmap and convert the project to use with Intel-Compiler.&lt;BR /&gt;Right click now on Projectmap and choose "Konfigurations-Manager"&lt;BR /&gt;Change "Projectmap Configuration" from "Debug" to "Release" and the "Active Projectplatform" from "Win32" to "x64".&lt;BR /&gt;like this picture show: &lt;A href="http://www.britta-d.de/images/intel_ocl/Konfigurations-Manager.jpg"&gt;http://www.britta-d.de/images/intel_ocl/Konfigurations-Manager.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Compile now the project. Compiler output as file "compiling_ocl_samples.txt"attached.&lt;BR /&gt;Now make a small batchfile like this:&lt;BR /&gt;&lt;P&gt;echo off&lt;BR /&gt;echo INTEL_OCL_SDK Samples&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;cd\\&lt;BR /&gt;cd C:\\Users\\Public\\Documents\\Intel\\OpenCL SDK\\1.1\\samples\\x64\\Release&lt;BR /&gt;echo BitonicSort&lt;BR /&gt;BitonicSort.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo DotProduct&lt;BR /&gt;DotProduct.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo GodRays&lt;BR /&gt;GodRays.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo MedianFilter&lt;BR /&gt;MedianFilter.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;echo TonMapping&lt;BR /&gt;ToneMapping.exe&lt;BR /&gt;echo ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;pause&lt;/P&gt;&lt;BR /&gt;-----------------------------------------------------&lt;BR /&gt;and run it.&lt;BR /&gt;&lt;BR /&gt;the output shows attachedfile "run_ocltest_output.txt"&lt;BR /&gt;&lt;BR /&gt;All this worked on the first try.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;_heinz</description>
      <pubDate>Fri, 15 Jul 2011 17:17:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compile-and-run-Intels-OpenCL-Samples/m-p/788093#M542</guid>
      <dc:creator>_heinz</dc:creator>
      <dc:date>2011-07-15T17:17:50Z</dc:date>
    </item>
  </channel>
</rss>

