-
Notifications
You must be signed in to change notification settings - Fork 790
[clang-linker-wrapper] Dump any device code format #17546
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
Changes from all commits
8a2a3cf
88a20ef
7806eef
c01853c
0753bb8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -242,7 +242,7 @@ Flags<[WrapperOnlyOption]>, HelpText<"Embed LLVM IR for runtime kernel fusion"> | |
|
||
def sycl_dump_device_code_EQ : Joined<["--", "-"], "sycl-dump-device-code=">, | ||
Flags<[WrapperOnlyOption]>, | ||
HelpText<"Path to the folder where the tool dumps SPIR-V device code. Other formats aren't dumped.">; | ||
HelpText<"Directory to dump offloading images to.">; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This option mirrors the user facing option 'sycl-dump-device-code' which was introduced for the old offloading model here: #11132. In that PR, I see that we use this only for dumping SPIR-V code. If the idea is to extend this option to cover all possible device outputs, may be we should do this for the old offloading model as well? Thanks There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure if there is any interest in supporting additional formats for "old offloading model". FYI: non-SPIR-V targets seems to be happy with -fsycl-device-only output. See #17390. If we have customers for this use case, please, file a feature request to handle it separately. |
||
|
||
// Options to enable/disable device dynamic linking. | ||
def sycl_allow_device_image_dependencies : Flag<["--", "-"], "sycl-allow-device-image-dependencies">, | ||
|
Uh oh!
There was an error while loading. Please reload this page.