Indeed GPU Caps Viewer should show OpenCL 2.x, use another tool like OpenCL-Z to double-check if it's an app issue.
Otherwise it could be an issue in the driver, try older ones then.
EDIT: Forget my first answer.
According to Supported APIs and Features for Intel® Graphics Drivers the HD 500 is limited to OpenCL 1.2
Sorry for confusion.
For OpenCL development you need the SDK from https://software.intel.com/en-us/intel-opencl
which also comes with experimental OpenCL 2.1 drivers (CPU only).
For Vulkan development get the SDK from LunarXchange
I recently installed Ubuntu Linux 17.04 64-bit on my other hard drive.
Being new to Linux, I'm wondering how to install the right Intel driver for GPU?
Does Intel provide drivers for Linux operating systems? Usually I only find .exe files for Windows.
I read here and there about X Server, also about Mesa, but not sure yet if this is important.
And how about the graphics API versions on Linux, is there a difference? OpenGL 4.x, OpenCL 1.2 or 2.x, etc.?
This message was posted on behalf of Intel Corporation
I understand you are trying to install latest graphics driver on Ubuntu Linux 17.04 64-bit.
Let me apologize for any inconvenience this issue may be causing to you.
What happens is that drivers for Linux* are provided by the Linux* Community directly. The best option would be contacting the Ubuntu Community so they can provide proper graphics driver. This link will give you their contact information http://community.ubuntu.com/
This other link will provide more information about Linux* drivers on Intel components https://www.intel.com/content/www/us/en/support/graphics-drivers/000005520.html