compute-runtime icon indicating copy to clipboard operation
compute-runtime copied to clipboard

Support for SPIR-V Specialization Constants

Open tremmelg opened this issue 8 years ago • 7 comments

Is there an estimate of when the Compute Runtime will support SPIR-V specialization constants and the corresponding OpenCL 2.2 API? Perhaps as an extension before OpenCL 2.2 support itself is released?

I would be interested in prototyping SYCL specialization constants and evaluating their effect on runtime performance, code size and compilation time on Intel hardware.

tremmelg avatar May 10 '18 13:05 tremmelg

We are exploring how to fit this into our current schedule. OpenCL 2.2 effort will start no sooner than in Q3. Once it begins, you will be able to see our progress as development will be done on master branch.

PiotrRozenfeld avatar May 17 '18 09:05 PiotrRozenfeld

We have a preliminary plan to implement spec constants in IGC till the end of Q4, This plan might be however a subject to change based on the progress in external dependencies.

kmazurki avatar Aug 09 '18 12:08 kmazurki

This is still in our plans - IGC support should be available in Q1'19.

PiotrRozenfeld avatar Dec 21 '18 12:12 PiotrRozenfeld

IGC support has been added. Runtime piece will be provided in Q2'19

AdamCetnerowski avatar Mar 29 '19 09:03 AdamCetnerowski

RT implementation is ready - 971eb7a1b4598491470216f26ede0cc8cf3e7993

jchodor avatar Jun 20 '19 08:06 jchodor

Additional RT changes : https://github.com/intel/compute-runtime/commit/5cde27ed0309aa421722db77f8b42b54b02a67df

jchodor avatar Jul 05 '19 20:07 jchodor

Let us know in case of problems with this feature.

jchodor avatar Jul 05 '19 20:07 jchodor