<?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 Compiling SHOC benchmark suite for HD4000 in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769589#M139</link>
    <description>Did you make sure you have the OpenCL library in your lib path (64-bit library is under .....2.0/lib/x64 and the 32-bit library is under ....2.0/lib/x86)? Can you try adding the path via -L to see if that helps?&lt;BR /&gt;&lt;BR /&gt;Raghu</description>
    <pubDate>Fri, 10 Aug 2012 22:13:50 GMT</pubDate>
    <dc:creator>Raghupathi_M_Intel</dc:creator>
    <dc:date>2012-08-10T22:13:50Z</dc:date>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769588#M138</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm currently trying to compile SHOC (https://github.com/spaffy/shoc, version 1.1.4) for GT2. As there is no OpenCL in Linux I'm trying to build it in Windows using cygwin.&lt;BR /&gt;&lt;BR /&gt;I did the following:&lt;BR /&gt;&lt;BR /&gt;./configure -with-cuda=no CPPFLAGS="-I/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/include -Dalloca=__builtin_alloca" LDFLAGS="-L/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/lib/x64"&lt;BR /&gt;&lt;BR /&gt;Include and lib dir are links into the SDK folder in C:\\Program Files (x86)\\Intel\\OpenCL SDK\\2.0\\&lt;BR /&gt;&lt;BR /&gt;Make is working fine until the linker kicks in:&lt;BR /&gt;&lt;BR /&gt;make[3]: Leaving directory `/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/common'&lt;BR /&gt;make[3]: Entering directory `/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0'&lt;BR /&gt;g++ -I../../../src/common -I../../../config -I/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/include -Dalloca=__builtin_alloca -I../../../src/opencl/common -I../../../src/opencl/common -g -O2 -c BusSpeedDownload.cpp -o BusSpeedDownload.o&lt;BR /&gt;g++ -I../../../src/common -I../../../config -I/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/include -Dalloca=__builtin_alloca -I../../../src/opencl/common -I../../../src/opencl/common -g -O2 -c ../common/main.cpp -o main.o&lt;BR /&gt;g++ -o ../../../bin/Serial/OpenCL/BusSpeedDownload -g -O2 -L/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/lib/x64 main.o BusSpeedDownload.o -lSHOCCommonOpenCL -lSHOCCommon -lOpenCL -L../../../lib&lt;BR /&gt;main.o: In function `Context':&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/../common/cl.hpp:1443: undefined reference to `_clCreateContext'&lt;BR /&gt;main.o: In function `CommandQueue':&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/../common/cl.hpp:2584: undefined reference to `_clCreateCommandQueue'&lt;BR /&gt;main.o: In function `_ZN2cl6detail16ReferenceHandlerIP17_cl_command_queueE7releaseES3_':&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/../common/cl.hpp:1049: undefined reference to `_clReleaseCommandQueue'&lt;BR /&gt;main.o: In function `_ZN2cl6detail16ReferenceHandlerIP11_cl_contextE7releaseES3_':&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/../common/cl.hpp:1040: undefined reference to `_clReleaseContext'&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/../common/cl.hpp:1040: undefined reference to `_clReleaseContext'&lt;BR /&gt;main.o: In function `_ZN2cl6detail16ReferenceHandlerIP17_cl_command_queueE7releaseES3_':&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/../common/cl.hpp:1049: undefined reference to `_clReleaseCommandQueue'&lt;BR /&gt;BusSpeedDownload.o: In function `_Z12RunBenchmarkRN2cl6DeviceERNS_7ContextERNS_12CommandQueueER14ResultDatabaseR12OptionParser':&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/BusSpeedDownload.cpp:44: undefined reference to `_clGetDeviceInfo'&lt;BR /&gt;/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/src/opencl/level0/BusSpeedDownload.cpp:66: undefined reference to `_clCreateBuffer'&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Alex&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Aug 2012 15:07:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769588#M138</guid>
      <dc:creator>Alexander_Heinecke</dc:creator>
      <dc:date>2012-08-10T15:07:14Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769589#M139</link>
      <description>Did you make sure you have the OpenCL library in your lib path (64-bit library is under .....2.0/lib/x64 and the 32-bit library is under ....2.0/lib/x86)? Can you try adding the path via -L to see if that helps?&lt;BR /&gt;&lt;BR /&gt;Raghu</description>
      <pubDate>Fri, 10 Aug 2012 22:13:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769589#M139</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2012-08-10T22:13:50Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769590#M140</link>
      <description>Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;Yes:&lt;BR /&gt;&lt;BR /&gt;./configure -with-cuda=no 
CPPFLAGS="-I/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/include
 -Dalloca=__builtin_alloca" 
LDFLAGS="-L/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/lib/x64"&lt;BR /&gt;&lt;BR /&gt;Include and lib dir are links into the SDK folder in C:\Program Files (x86)\Intel\OpenCL SDK\2.0\&lt;BR /&gt;&lt;BR /&gt;It seems that mingw (g++) is not able to understand symbols in OpenCL.lib.&lt;BR /&gt;&lt;BR /&gt;Alex</description>
      <pubDate>Sat, 11 Aug 2012 12:52:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769590#M140</guid>
      <dc:creator>Alexander_Heinecke</dc:creator>
      <dc:date>2012-08-11T12:52:46Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769591#M141</link>
      <description>Can you post what your lib path is set to?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Raghu</description>
      <pubDate>Mon, 13 Aug 2012 17:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769591#M141</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2012-08-13T17:56:00Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769592#M142</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;my link is set to C:\Program Files (x86)\Intel\OpenCL SDK\2.0\lib\x64&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Alex</description>
      <pubDate>Tue, 14 Aug 2012 10:40:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769592#M142</guid>
      <dc:creator>Alexander_Heinecke</dc:creator>
      <dc:date>2012-08-14T10:40:56Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769593#M143</link>
      <description>One last attempt. Try&lt;BR /&gt;&lt;BR /&gt;CPPFLAGS="-I/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/include -Dalloca=__builtin_alloca" LDFLAGS="-L/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/lib/x64 -L/cygdrive/c/Program\ Files\ (x86)/Intel/OpenCL\ SDK/2.0/lib/x64"&lt;BR /&gt;&lt;BR /&gt;If that doesn't work please provide a reproducer and I'll try to help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Raghu</description>
      <pubDate>Tue, 14 Aug 2012 18:21:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769593#M143</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2012-08-14T18:21:10Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769594#M144</link>
      <description>Hi Raghu,&lt;BR /&gt;&lt;BR /&gt;this didn't help :-(&lt;BR /&gt;&lt;BR /&gt;I did the following:&lt;BR /&gt;&lt;BR /&gt;1. installed cygwin, &lt;A href="https://community.intel.com/www.cygwin.com" target="_blank"&gt;www.cygwin.com&lt;/A&gt; for mingw, g++, etc.&lt;BR /&gt;&lt;BR /&gt;2. dowloaded show benchmark, attaced here&lt;BR /&gt;&lt;BR /&gt;3. ln -s: Include and lib dir are links into the SDK folder in C:\Program Files (x86)\Intel\OpenCL SDK\2.0\ inside shoc root dir&lt;BR /&gt;&lt;BR /&gt;4. ./configure -with-cuda=no 
CPPFLAGS="-I/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/include
 -Dalloca=__builtin_alloca" 
LDFLAGS="-L/cygdrive/c/Users/heinecke/Documents/spaffy-shoc-7380bc4/lib/x64"&lt;BR /&gt;&lt;BR /&gt;5. make&lt;BR /&gt;&lt;BR /&gt;6. Linker error&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Alex</description>
      <pubDate>Thu, 16 Aug 2012 19:51:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769594#M144</guid>
      <dc:creator>Alexander_Heinecke</dc:creator>
      <dc:date>2012-08-16T19:51:25Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769595#M145</link>
      <description>Hi Raghu,&lt;BR /&gt;&lt;BR /&gt;any news on this thread?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Alex</description>
      <pubDate>Wed, 22 Aug 2012 18:08:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769595#M145</guid>
      <dc:creator>Alexander_Heinecke</dc:creator>
      <dc:date>2012-08-22T18:08:25Z</dc:date>
    </item>
    <item>
      <title>Compiling SHOC benchmark suite for HD4000</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769596#M146</link>
      <description>Hi Alex,&lt;BR /&gt;&lt;BR /&gt;Sorry I couldnt spend time reproducing your issue. I'll take a look in the next few days and get back to you.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Raghu</description>
      <pubDate>Wed, 22 Aug 2012 20:41:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769596#M146</guid>
      <dc:creator>Raghupathi_M_Intel</dc:creator>
      <dc:date>2012-08-22T20:41:44Z</dc:date>
    </item>
    <item>
      <title>I got similar errors when</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769597#M147</link>
      <description>I got similar errors when trying to compile OpenCL in cygwin. What eventually worked was to link against AMD's OpenCL library (AMD APP) which comes with a .a file. I was then able to select the Intel runtime and the HD4000 as device.</description>
      <pubDate>Wed, 05 Sep 2012 12:29:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Compiling-SHOC-benchmark-suite-for-HD4000/m-p/769597#M147</guid>
      <dc:creator>dominik_grewe</dc:creator>
      <dc:date>2012-09-05T12:29:27Z</dc:date>
    </item>
  </channel>
</rss>

