Community
cancel
Showing results for 
Search instead for 
Did you mean: 
allanmac1
Beginner
89 Views

cl_khr_fp16 support on Gen8 or 9?

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
89 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.

allanmac1
Beginner
89 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. :)

 

allanmac1
Beginner
89 Views

It looks like cl_khr_fp16 is in Skylake.

From here:

hd_580.png

 

Robert_I_Intel
Employee
89 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.

allanmac1
Beginner
89 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

Jeffrey_M_Intel1
Employee
89 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.

Jeffrey_M_Intel1
Employee
89 Views

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

allanmac1
Beginner
89 Views

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

Jeffrey_M_Intel1
Employee
89 Views

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

Jeffrey_M_Intel1
Employee
89 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.