intel / opencl-clang

Other
133 stars 59 forks source link

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

Closed lucasz93 closed 4 months ago

lucasz93 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

pszymich commented 4 months ago

@wenju-he can we have this change backported to ocl-open-140? Thanks

wenju-he commented 4 months ago

@wenju-he can we have this change backported to ocl-open-140? Thanks

sure, I'll do it and port to 150/160/170/180 branches as well.

wenju-he commented 4 months ago

@wenju-he can we have this change backported to ocl-open-140? Thanks

sure, I'll do it and port to 150/160/170/180 branches as well.

@pszymich this change is merged into ocl-open-140: https://github.com/intel/opencl-clang/pull/511