-
Notifications
You must be signed in to change notification settings - Fork 798
[SYCL][DRIVER] Add driver option for libdevice path #16329
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
Conversation
| def fsycl_help : Flag<["-"], "fsycl-help">, Alias<fsycl_help_EQ>, | ||
| Flags<[NoXarchOption]>, AliasArgs<["all"]>, | ||
| HelpText<"Emit help information from all of the offline compilation tools">; | ||
| def fsycl_libdevice_path_EQ : Joined<["-"], "fsycl-libdevice-path=">, |
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.
Was this option scrutinized by the Options Working Group? Naming wise, this should closer match existing options. Something like -fsycl-device-lib-path=
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.
No, it wasn't. Tbf I wasn't really aware the working group existed, I went with -fsycl-libdevice-path because it's similar to -fsycl-libspirv-path, but I'm happy to change it as you deem necessary, is there any other reviewer we could ping in this PR to get their opinion? Or how should I go about submitting this to the Options Working Group?
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.
@PietroGhg, you can check internal wiki for more information. This should get enough eyes on the new option name.
|
We ended up fixing this differently instead (#17408) and no longer need a new option. |
Adds a
-fsycl-libdevice-paththat points to a non-default directory forlibdevice. This is particularly useful when cross-compiling for Native CPU.