Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Refine -cl-uniform-work-group-size option parsing #483

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions options_compile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ std::string EffectiveOptionsFilter::processOptions(const OpenCLArgList &args,
case OPT_COMPILE_cl_opt_disable:
case OPT_COMPILE_cl_mad_enable:
case OPT_COMPILE_cl_no_signed_zeros:
case OPT_COMPILE_cl_uniform_work_group_size:
case OPT_COMPILE_cl_unsafe_math_optimizations:
effectiveArgs.push_back((*it)->getAsString(args));
break;
Expand Down Expand Up @@ -142,9 +143,6 @@ std::string EffectiveOptionsFilter::processOptions(const OpenCLArgList &args,
case OPT_COMPILE_triple:
szTriple = (*it)->getValue();
break;
case OPT_COMPILE_cl_uniform_work_group_size:
effectiveArgs.push_back("-cl-uniform-work-group-size");
break;
case OPT_COMPILE_cl_no_subgroup_ifp:
case OPT_COMPILE_target_triple:
case OPT_COMPILE_spir_std_1_0:
Expand Down