sycl
sycl copied to clipboard
[SYCL][Driver][sycl-xocc] Allow filtering of Clang arguments down to xocc compile and link stages
For example when a user adds -g or -O3 for debugging or optimization this should be filtered down through the xocc ToolChain to the sycl-xocc script and passed to the xocc compiler.
There are possibly other examples of arguments that Clang and xocc share that should be passed down as well. And perhaps allowing a user to specify certain xocc or sycl-xocc only arguments would also be useful in someway.