Offline Compilation Mode GPU: OpenCL Applications 2013 Beta

Offline Compilation Mode GPU: OpenCL Applications 2013 Beta

gudge g.'s picture

Hi,

Could you please let me know if there is a offline compilation mode which I can use from command line or from GUI (command line preferable) for Intel GPU. I see in the user guide http://software.intel.com/sites/default/files/m/e/7/0/3/1/33857-Intel_28... there is a offline compilation icon. I am using "Intel SDK for OpenCL Applications 2013 Beta - download here". I do not see that icon on Intel Kernel Builder GUI tool.

Please correct me if I am wrong. I think OpenCL Applications 2013 Beta is the first time you have put in support for GPU's.

Thanks,

Gudge

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Raghu Muthyalampalli (Intel)'s picture

ioc/ioc64 is a command line utility that the GUI actually invokes for offline compilation. Its in the bin directory. Run the command with -help to display command line options.

GPU support is in the 2012 SDK also, so this is not the first time for GPU support.

Hope that helps.

Raghu

gudge g.'s picture

Hi Raghu,
I used the following options:
ioc64.exe -cmd=compile -input=test.cl -device=gpu
I get the following error message:
Using default instruction set architecture.
Failed to create context for Intel OpenCL HD Graphics device...
Build failed!

ioc64 -help doesn't list any offline compilation mode. I have a Intel Xeon CPU and not a i5 or i7. I do understand I would not be able to run
the program on my machine. At this point I just want to compile it.

The kernel has no syntax issues. It compiles perfectly fine with -device=cpu.

Thanks for your help.

Thanks,
Gudge

Raghu Muthyalampalli (Intel)'s picture

Hi Gudge,

To find out if your system has OpenCL support follow this link (http://software.intel.com/en-us/articles/opencl-2013-release-notes/). GPU support is only available on Intel® Xeon® Processor E3 Family V2 with Intel® HD Graphics P4000 running Windows OS. On Intel® Xeon® Processor 3000/5000/6000/7000 Sequences, OpenCL is only supported on CPU (both Windows and Linux OSes).

Even to just compile the kernel you need the compiler that gets installed with the graphics driver. Since your driver doesn't have OpenCL support you cannot compile the kernel.

Raghu

gudge g.'s picture

Hi Raghu,
My processor information comes listed as Intel(R) Xeon(R) CPU W3530 @2.80 GHZ 2.79GHz. So I assume it is 3000 series where the drivers for GPU are not available.

Thanks,

Login to leave a comment.