Skip to content

[SYCL] Preserve filename passed to ocloc through -output #641

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

Merged
merged 1 commit into from
Sep 17, 2019

Conversation

AGindinson
Copy link
Contributor

A flag "-output_no_suffix" was added to ocloc, and enabling it
prevents the tool from appending it's family name (e.g. "_Gen9core.bin")
to the filename passed through the -output option.

Meanwhile, clang-offload-bundler expects no suffixes with the binary
image name. Enabling the option ensures that our toolchain is always
able to find the image by the given name.

Signed-off-by: Artem Gindinson [email protected]

A flag "-output_no_suffix" was added to ocloc, and enabling it
prevents the tool from appending it's family name (e.g. "_Gen9core.bin")
to the filename passed through the -output option.

Meanwhile, clang-offload-bundler expects no suffixes with the binary
image name. Enabling the option ensures that our toolchain is always
able to find the image by the given name.

Signed-off-by: Artem Gindinson <[email protected]>
@bader bader merged commit cd2dd9b into intel:sycl Sep 17, 2019
@AGindinson AGindinson deleted the private/agindins/aot_ocloc_option branch September 22, 2021 08:51
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants