-
Notifications
You must be signed in to change notification settings - Fork 788
[SYCL] Change command line options for Spec Const lowering in sycl-post-link #10741
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
[SYCL] Change command line options for Spec Const lowering in sycl-post-link #10741
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Native CPU LGTM
cl::values(clEnumValN(SC_USE_NATIVE, "native", | ||
"lower spec constants to native spirv instructions"), | ||
clEnumValN(SC_USE_EMULATION, "emulation", | ||
"replace spec constants with emulation technique")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would personally like if we had also left info about rt/c++ default spec constants in description, because now it's mostly describing the implementation, not the meaning. does it make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lowering to default C++ values has been dropped here e50ae05#diff-f9a582625f70ea58ef88b7713c591e8187629cca507b424557a3e4664e23848fL147 when we removed support of sycl_ext_oneapi_spec_constants.
The current value name emulation
and desc reflects more precisely what it does.
Changed description a bit.
Replace
rt
anddefault
values of command line option-spec-const
withnative
andemulation
respectively.