OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1719 Discussions

cl_khr_fp16 support on Gen8 or 9?

allanmac1
Beginner
849 Views

I don't see the cl_khr_fp16 extension in the latest Broadwell OpenCL driver under Win10.

Does it exist in a Skylake Gen9 IGP OpenCL driver under Win10?

I see that it has been added to the Beignet Linux driver for BDW, SKL and beyond.

Any chance this extension will appear in the Windows driver?  

I hope so since fp16x2 support is showing up on other GPUs and is great fit for certain tasks.

0 Kudos
10 Replies
Robert_I_Intel
Employee
849 Views

Hi Allan,

Standalone driver for Linux https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_driver already supports it on Broadwell.

Skylake support for Linux should be coming by some time this year.

Product team informed me that they enabled support on Windows as well, which means that it should show up in a production driver in a couple of months.

0 Kudos
allanmac1
Beginner
849 Views

Thanks Robert!

Also, I noticed that the Linux driver appears to support 512 work-item threadgroups. I haven't yet tested it.

BDW reports a 256 item limit on the x.y.z.4404 Win10 driver.

Being able to execute a 448 item threadgroup (7*8*8) that covers an entire BDW/SKL subslice would boost the performance of some kernels.

You can add that to my wishlist. :)

 

0 Kudos
allanmac1
Beginner
849 Views

It looks like cl_khr_fp16 is in Skylake.

From here:

hd_580.png

 

0 Kudos
Robert_I_Intel
Employee
849 Views

Yes it is, and from what I've seen the use of it should result in ~50% perf increase. Your mileage may vary, of course.

0 Kudos
allanmac1
Beginner
849 Views

Any idea if GEN8 (Broadwell, etc.) IGPs will ever receive cl_khr_fp16 support?

Today's 20.19.15.4501 driver doesn't show it:

20.19.15.4501.png

0 Kudos
Jeffrey_M_Intel1
Employee
849 Views

In my tests see cl_khr_fp16 available as below:

  • Linux: available for BDW and SKL
  • Windows: available for SKL, missing for BDW

I will check for more info and get back to you if there are any updates.

0 Kudos
Jeffrey_M_Intel1
Employee
849 Views

Just wanted to let you know that missing support for 5th Generation Core in Windows is filed as a bug.  

0 Kudos
allanmac1
Beginner
849 Views

Is there any plan to support cl_khr_fp16 on BDW on Windows?

0 Kudos
Jeffrey_M_Intel1
Employee
849 Views

I'm checking with the dev team and will get back to you as soon as I can.

0 Kudos
Jeffrey_M_Intel1
Employee
849 Views

Unfortunately, no.  Active development has wrapped up for BDW and development work is now on a different driver branch.  However, fp16 should be there for SKL and forward.

0 Kudos
Reply