Add support for -cl-std=CL3.0 (#653)
Always enable support for non-uniform work-groups when compiling as
CL3.0.
Signed-off-by: Kévin Petit <kpet@free.fr>
diff --git a/lib/Compiler.cpp b/lib/Compiler.cpp
index 705b2a6..590fcc0 100644
--- a/lib/Compiler.cpp
+++ b/lib/Compiler.cpp
@@ -395,6 +395,9 @@
case clspv::Option::SourceLanguage::OpenCL_C_20:
standard = clang::LangStandard::lang_opencl20;
break;
+ case clspv::Option::SourceLanguage::OpenCL_C_30:
+ standard = clang::LangStandard::lang_opencl30;
+ break;
case clspv::Option::SourceLanguage::OpenCL_CPP:
standard = clang::LangStandard::lang_openclcpp;
break;