-
Notifications
You must be signed in to change notification settings - Fork 745
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
[Driver][SYCL][FPGA] Improve expected triple and link behaviors for A… #1549
[Driver][SYCL][FPGA] Improve expected triple and link behaviors for A… #1549
Conversation
eca5edb
to
363e007
Compare
…OCX files When performing -fsycl-link=image behaviors on Windows, there was a mismatch of triples being used when checking for existence of the AOCX binary. This caused a problem when using clang-cl as the triples do not properly match. We also do not want to do any additional unbundling of any AOCX archive, which was causing a conflict of expected FPGA archives. Signed-off-by: Michael D Toguchi <michael.d.toguchi@intel.com>
363e007
to
c23a03e
Compare
Hi Mike,
What about -fsycl-link (without the =image part). Does this flow also get affected by the mismatched triple? |
Signed-off-by: Michael D Toguchi <michael.d.toguchi@intel.com>
Signed-off-by: Michael D Toguchi <michael.d.toguchi@intel.com>
…riple When unbunding for aocx, we were not checking for -coff Fix tests associated. Signed-off-by: Michael D Toguchi <michael.d.toguchi@intel.com>
Signed-off-by: Michael D Toguchi <michael.d.toguchi@intel.com>
@meiyacha, yes, aocr is also impacted here. |
…t archive Signed-off-by: Michael D Toguchi <michael.d.toguchi@intel.com>
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.
Other than the minor comments, LGTM.
Co-Authored-By: Sergey Semenov <43845535+sergey-semenov@users.noreply.github.com>
This includes a rejigging of the BuiltinFuncMangleInfo to actually act as the source of information to pass this information into. Only some of the call sites of mangleBuiltin have been properly updated to pass in the pointer type element information. The various mutateCallInst* callers have yet to be updated, so those methods are temporarily relying on querying getPointerElementType() to generate this information. Original commit: KhronosGroup/SPIRV-LLVM-Translator@0eb9a7d
…OCX files
When performing -fsycl-link=image behaviors on Windows, there was a mismatch
of triples being used when checking for existence of the AOCX binary. This
caused a problem when using clang-cl as the triples do not properly match.
We also do not want to do any additional unbundling of any AOCX archive, which
was causing a conflict of expected FPGA archives.
Signed-off-by: Michael D Toguchi michael.d.toguchi@intel.com