llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL][NATIVECPU] Support specialization constants on Native CPU

Open PietroGhg opened this issue 1 year ago • 1 comments

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

PietroGhg avatar Jul 04 '24 13:07 PietroGhg

Hi @AlexeySachkov, do you have any more thoughts about this PR?

PietroGhg avatar Aug 19 '24 07:08 PietroGhg

Hi @intel/llvm-gatekeepers, this looks ready to merge, thank you

PietroGhg avatar Sep 16 '24 07:09 PietroGhg