llvm
llvm copied to clipboard
[SYCL][NATIVECPU] Support specialization constants on Native CPU
Adds support to specialization constants by scheduling the SpecConstantsPass in the Native CPU pass pipeline. A small change is needed in that pass since, due to ABI, the return type of the spec const builtins can't be used to determine the type of the spec constant, so for Native CPU we use the default value instead.
UR PR: https://github.com/oneapi-src/unified-runtime/pull/1821
Hi @AlexeySachkov, do you have any more thoughts about this PR?
Hi @intel/llvm-gatekeepers, this looks ready to merge, thank you