Support for SPIR-V Specialization Constants
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.
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.
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.
This is still in our plans - IGC support should be available in Q1'19.
IGC support has been added. Runtime piece will be provided in Q2'19
RT implementation is ready - 971eb7a1b4598491470216f26ede0cc8cf3e7993
Additional RT changes : https://github.com/intel/compute-runtime/commit/5cde27ed0309aa421722db77f8b42b54b02a67df
Let us know in case of problems with this feature.