intel / opencl-clang

Other
133 stars 59 forks source link

Add parsing of OpenCL C++ -cl-std flags (#510) #511

Closed wenju-he closed 4 months ago

wenju-he commented 4 months ago

Hello!

Support for OpenCL C++ was added into LLVM 14, but IGC doesn't support parsing of those flags just yet. I've opened PRs which adds support for parsing these flags to the following repositories: intel-graphics-compiler, compute-runtime and opencl-clang.

The options are passed down into LLVM which then happily compiles my C++ kernel.

PRs should be merged in the following order: opencl-clang, intel-graphics-compiler, then finally compute-runtime.

Kind regards, -Lucas

Co-authored-by: Lucas Zadrozny lucas.zadrozny@hotmail.com (cherry picked from commit 545a14577cbeb3cee371afed22fea71c2025e724)