Neither Ubuntu nor the following method is supported or validated by Intel. Source is provided for opensource components so that you can modify in any way you like, but our ability to support is limited. These steps assume Ubuntu 14.04 with no OpenCL IDCs previously installed on the system. One of our engineers tried the following procedure.
So my question for you all, can I actually use both CPU and GPU drivers together? why my GPU target stopped running after I installed the CPU driver? MCX ERROR(11):Error: Failed to build program executable! in unit mcx_host.cpp:375
When I run the code on the 3rd device (-G 001), I got another error Kernel build error: Kernel build error:ĬTHeader.h:127:69: error: unknown type name 'uchar' did you mean 'char'?ĬTHeader.h:127:96: error: unknown type name 'uchar' did you mean 'char'?ĬTHeader.h:129:69: error: unknown type name 'ushort' did you mean 'short'?ĬTHeader.h:129:97: error: unknown type name 'ushort' did you mean 'short'? However, when I try to run the code on the GPU device (-G 010), I got thousands lines of compilation error that was not the case previously. Now, when I run the code on the CPU using -G 100, it runs successfully. = CPU device ID 3 : Intel(R) Core(TM) i7-5600U CPU 2.60GHz = = GPU device ID 2 : Intel(R) HD Graphics = = CPU device ID 1 : Intel(R) Core(TM) i7-5600U CPU 2.60GHz = When I list all available devices (mcxcl -L), I get the following output, there are 3, and 2 devices referred to the same CPU (i7-5600U): Platform Name Intel(R) OpenCL However, after both drivers are installed, I no longer be able to run my code on the GPU. Once the GPU driver is installed, my OpenCL code () can list and run my simulation on the HD 5500 GPU (speed =1200 photon/ms).Īfter I succeeded this step, I installed the Intel OpenCL CPU driver (opencl-1.2-sdk-5.0.0.43), with a hope that I can run my code on either device by a switch, or both simultaneously (I use "-G" and a 0-1 mask to select active devices). I first installed the OpenCL 1.2 Driver (86_64 ) for Intel HD graphics on my Ubuntu box (involving patching and installing Linux kernel 4.1), downloaded from the following link