<?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 Hello, in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151724#M6099</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried an example of clfft on Intel Core M3 based laptop (I know it is extremely outdated) and received the error below. Any clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;clFFT/src/examples/build$ make
[ 16%] Linking C executable examples/fft2d
/usr/bin/ld: CMakeFiles/example_examples_fft2d.dir/fft2d.c.o: undefined reference to symbol 'clGetPlatformIDs@@OPENCL_1.0'
//usr/lib/x86_64-linux-gnu/libOpenCL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/example_examples_fft2d.dir/build.make:94: recipe for target 'examples/fft2d' failed
make[2]: *** [examples/fft2d] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/example_examples_fft2d.dir/all' failed
make[1]: *** [CMakeFiles/example_examples_fft2d.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 16:16:22 GMT</pubDate>
    <dc:creator>wang__shu</dc:creator>
    <dc:date>2019-11-21T16:16:22Z</dc:date>
    <item>
      <title>clFFT on Intel Processor Graphics and Windows?</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151722#M6097</link>
      <description>&lt;P&gt;Has anyone successfully used the open-source clFFT libraries (https://github.com/clMathLibraries/clFFT)&lt;/P&gt;&lt;P&gt;with a recent Intel Processor Graphics device (gen8/9), on Windows 10, with Visual Studio 2015/17 and Intel OpenCL SDK 2015/17?&lt;/P&gt;&lt;P&gt;I am trying to do it and wondering about any advice on setup/configuration of the dev environment/system from your experiences,&lt;/P&gt;&lt;P&gt;such as: will using the pre-compiled Windows/x64 binaries etc (clFFT.dll, clFFT.lib, clFFT.h) work,&lt;/P&gt;&lt;P&gt;or do we have to do the whole CMake build process ourselves?&lt;/P&gt;&lt;P&gt;Thanks, Colin&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 20:58:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151722#M6097</guid>
      <dc:creator>Colin_Reinhardt</dc:creator>
      <dc:date>2018-10-31T20:58:27Z</dc:date>
    </item>
    <item>
      <title>It's been a while, but I did</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151723#M6098</link>
      <description>&lt;P&gt;It's been a while, but I did get this to work about a year or so ago.&amp;nbsp; It looks like I built from source and didn't use pre-compiled binaries.&amp;nbsp; My project was CMake-based already and I don't see that I had to do anything fancy to add clFFT to the build, but like I said, it's been a while. :-)&lt;/P&gt;&lt;P&gt;Copying a few relevant parts of my CMakeLists.txt below, in case it's helpful:&lt;/P&gt;
&lt;PRE class="brush:plain; class-name:dark;"&gt;add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/third_party/clFFT/src)
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/third_party/clFFT/src/include )
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/third_party/clFFT/src/include )

target_link_libraries( ${TARGET_NAME} clFFT {other_libs_go_here} )
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 23:10:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151723#M6098</guid>
      <dc:creator>Ben_A_Intel</dc:creator>
      <dc:date>2018-11-01T23:10:14Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151724#M6099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried an example of clfft on Intel Core M3 based laptop (I know it is extremely outdated) and received the error below. Any clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;clFFT/src/examples/build$ make
[ 16%] Linking C executable examples/fft2d
/usr/bin/ld: CMakeFiles/example_examples_fft2d.dir/fft2d.c.o: undefined reference to symbol 'clGetPlatformIDs@@OPENCL_1.0'
//usr/lib/x86_64-linux-gnu/libOpenCL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/example_examples_fft2d.dir/build.make:94: recipe for target 'examples/fft2d' failed
make[2]: *** [examples/fft2d] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/example_examples_fft2d.dir/all' failed
make[1]: *** [CMakeFiles/example_examples_fft2d.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:16:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151724#M6099</guid>
      <dc:creator>wang__shu</dc:creator>
      <dc:date>2019-11-21T16:16:22Z</dc:date>
    </item>
    <item>
      <title>Quote:wang, shu wrote:</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151725#M6100</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;wang, shu wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried an example of clfft on Intel Core M3 based laptop (I know it is extremely outdated) and received the error below. Any clue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello, were you able to resolve this problem?&amp;nbsp; If not, it looks like there was an issue detecting your OpenCL library to link with when your Makefile was generated.&amp;nbsp; It might be helpful to see what CMake commands you are issuing to generate your Makefiles.&amp;nbsp; I just tried this and it seemed to work:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;cd &amp;lt;clFFT directory&amp;gt;
mkdir build &amp;amp;&amp;amp; cd build
cmake ../src
make -j4&lt;/PRE&gt;

&lt;P&gt;This should build clFFT and the examples.&amp;nbsp; If all goes well you should see lines like the following when your Makefiles are generated:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - found
-- Found OpenCL: /opt/intel/intel-opencl-1.2-6.2.0.1760/opencl-sdk/lib64/libOpenCL.so (found version "2.0") 
&lt;/PRE&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 17:31:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/clFFT-on-Intel-Processor-Graphics-and-Windows/m-p/1151725#M6100</guid>
      <dc:creator>Ben_A_Intel</dc:creator>
      <dc:date>2019-12-02T17:31:35Z</dc:date>
    </item>
  </channel>
</rss>

