Skip to content

Commit 66ec68c

Browse files
committed
Fix -cl-uniform-work-group-size not passed to clang
Before this PR this build options is ignored by opencl-clang.
1 parent c741c56 commit 66ec68c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

options_compile.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ std::string EffectiveOptionsFilter::processOptions(const OpenCLArgList &args,
143143
szTriple = (*it)->getValue();
144144
break;
145145
case OPT_COMPILE_cl_uniform_work_group_size:
146+
effectiveArgs.push_back("-cl-uniform-work-group-size");
147+
break;
146148
case OPT_COMPILE_cl_no_subgroup_ifp:
147149
case OPT_COMPILE_target_triple:
148150
case OPT_COMPILE_spir_std_1_0:

0 commit comments

Comments
 (0)