- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I need some information about running openCL programs on xeon or xeo phi. What to add to the makefile to be able to run program successfuly?
I know that i need to provide lOpenCL lib and path to the headers, but i do not know where they are, so compiler tells me that "CL/cl.h" cannot be found.
I am trying to run this program on Intel's xeon or xeon phi coprocessor.
Thank you,
Stevan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to modify your include, lib environment variables to point to the include, lib opencl files. For example to find the cl.h add the path to the CL folder (excluding CL) to your include env variable.
Raghu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Raghu,
I am aware of that, but where are the headers and libs on Intel's machines ? Can you post the part of makefile where you provide those paths ?
Example how i build with amd's openCL:
icpc -L/opt/AMDAPP/lib/x86_64/ -I/opt/AMDAPP/include -I/home/stevan/Desktop/openCLcode/includes src/main.cpp src/BitmapImporter.cpp -lOpenCL . This is ok, but at the moment, i don't have OpenSUSE of Red Hat to try Intel's openCL.
Regards,
Stevan
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page