Skip to content

Commit 3c76420

Browse files
committed
[NFC] Refine -cl-uniform-work-group-size option parsing
1 parent 66ec68c commit 3c76420

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

options_compile.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ std::string EffectiveOptionsFilter::processOptions(const OpenCLArgList &args,
8787
case OPT_COMPILE_cl_opt_disable:
8888
case OPT_COMPILE_cl_mad_enable:
8989
case OPT_COMPILE_cl_no_signed_zeros:
90+
case OPT_COMPILE_cl_uniform_work_group_size:
9091
case OPT_COMPILE_cl_unsafe_math_optimizations:
9192
effectiveArgs.push_back((*it)->getAsString(args));
9293
break;
@@ -142,9 +143,6 @@ std::string EffectiveOptionsFilter::processOptions(const OpenCLArgList &args,
142143
case OPT_COMPILE_triple:
143144
szTriple = (*it)->getValue();
144145
break;
145-
case OPT_COMPILE_cl_uniform_work_group_size:
146-
effectiveArgs.push_back("-cl-uniform-work-group-size");
147-
break;
148146
case OPT_COMPILE_cl_no_subgroup_ifp:
149147
case OPT_COMPILE_target_triple:
150148
case OPT_COMPILE_spir_std_1_0:

0 commit comments

Comments
 (0)