- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help me!
compile my opencl code for cpu is ok.
icpc -o ArrayAdd -L/opt/intel/opencl-1.2-4.5.0.8/lib64 -L/opt/intel/opencl-1.2-4.5.0.8/libmic -I/opt/intel/opencl-1.2-4.5.0.8/include/ -I/opt/intel/opencl-1.2-sdk-4.4.0.134/include/ -lOpenCL -lrt ArrayAdd.cpp
but i compile it for mic,some errors:
icpc -mmic -o ArrayAddmic -L/opt/intel/opencl-1.2-4.5.0.8/lib64 -L/opt/intel/opencl-1.2-4.5.0.8/libmic -I/opt/intel/opencl-1.2-4.5.0.8/include/ -I/opt/intel/opencl-1.2-sdk-4.4.0.134/include/ -lOpenCL -lrt ArrayAdd.cpp
error:
x86_64-k1om-linux-ld: skipping incompatible /opt/intel/opencl-1.2-4.5.0.8/lib64/libOpenCL.so when searching for -lOpenCL
x86_64-k1om-linux-ld: cannot find -lOpenCL
why???
thanks
my mic info
micinfo
MicInfo Utility Log
Copyright 2011-2013 Intel Corporation All Rights Reserved.
Created Sat Aug 30 11:15:17 2014
System Info
HOST OS : Linux
OS Version : 2.6.32-358.el6.x86_64
Driver Version : 3.3-1
MPSS Version : 3.3
Host Physical Memory : 65909 MB
Device No: 0, Device Name: mic0
Version
Flash Version : 2.1.02.0390
SMC Firmware Version : 1.16.5078
SMC Boot Loader Version : 1.8.4326
uOS Version : 2.6.38.8+mpss3.3
Device Serial Number : ADKC24801867
Board
Vendor ID : 0x8086
Device ID : 0x225c
Subsystem ID : 0x2500
Coprocessor Stepping ID : 3
PCIe Width : Insufficient Privileges
PCIe Speed : Insufficient Privileges
PCIe Max payload size : Insufficient Privileges
PCIe Max read req size : Insufficient Privileges
Coprocessor Model : 0x01
Coprocessor Model Ext : 0x00
Coprocessor Type : 0x00
Coprocessor Family : 0x0b
Coprocessor Family Ext : 0x00
Coprocessor Stepping : B1
Board SKU : B1PRQ-7110 P/X
ECC Mode : Enabled
SMC HW Revision : Product 300W Passive CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this issue. We're investigating and will reply soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suppose you configured your Intel Compiler to generate 'native MIC' executable and you should configure it for host.
It should be something like: source /opt/intel/composerxe/bin/compilervars.sh intel64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks Yuri again,I tried according to what you said ,it works.
another different question, can we think MIC is a multicore CPU,in this way ,maybe we can run a opencl parallel Program in MIC,just
as openCL for CPU? because mic has its OS.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page