Skip to content

Conversation

@mdtoguchi
Copy link
Contributor

When performing linking with -fsycl, it is required that the user provide
the -fsycl-targets=triple option so the driver knows which targets to
unbundle and use. There is no indication to the end user if they are using
a command line that matches up with the generated objects and archives.

Perform some additional checking against the archives and objects as they
are provided on the command line and cross check with what the user has
specified for targets. If these do not match, emit a diagnostic stating
as such and also list out the targets that were found in the objects.

When performing linking with -fsycl, it is required that the user provide
the -fsycl-targets=triple option so the driver knows which targets to
unbundle and use.  There is no indication to the end user if they are using
a command line that matches up with the generated objects and archives.

Perform some additional checking against the archives and objects as they
are provided on the command line and cross check with what the user has
specified for targets.  If these do not match, emit a diagnostic stating
as such and also list out the targets that were found in the objects.
@mdtoguchi mdtoguchi requested review from a team as code owners August 16, 2022 22:57
Copy link
Contributor

@elizabethandrews elizabethandrews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FE changes LGTM!

@mdtoguchi
Copy link
Contributor Author

Failures do not look related to my change (which is diagnostic in nature only)

@mdtoguchi
Copy link
Contributor Author

@hchilama, can you take a look?

@mdtoguchi
Copy link
Contributor Author

@intel/llvm-gatekeepers, this should be ready to go. thanks!

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.

5 participants