This simple kernel will not compile for the CPU. The build error I get is an extremely helpful.
/home/ocl/openclmainline/runtime/device/cpu/cpudevice.cpp:106: ShouldNotReachHere()
Aborted
I guess it reaches somewhere it shouldn't, but beyond that I have no idea. My CLInfo is
Platform, ID = 1
OpenCL : ATI Stream
OpenCL : by Advanced Micro Devices, Inc.
OpenCL : OpenCL ver OpenCL 1.0 ATI-Stream-v2.1 (145)
OpenCL : Profile FULL_PROFILE
OpenCL : Extensions cl_khr_icd
OpenCL : Platform Devices follow
OpenCL : Found a device, ID = 0
OpenCL : Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
OpenCL : by GenuineIntel
OpenCL : Driver ver 1.1
OpenCL : OpenCL ver OpenCL 1.0 ATI-Stream-v2.1 (145)
OpenCL : Profile FULL_PROFILE
OpenCL : Global Mem 3072 MiB
OpenCL : Local Mem 32 KiB
OpenCL : Extensions cl_khr_icd cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_printf
#pragma OPENCL EXTENSION cl_amd_fp64 : enable __kernel void badKernel(double4 aVector) {}