Skip to content

Conversation

AGindinson
Copy link
Contributor

When compiling with -fsycl and providing no triples to some
-fsycl*targets option, a default device target triple is chosen.
For CL mode, it is spir64-unknown-[[os]]-sycldevice-coff. Leaving
object format unset for CL mode resulted in inability to find the
toolchain with a matching triple.

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

When compiling with -fsycl and providing no triples to some
-fsycl*targets option, a default device target triple is chosen.
For CL mode, it is spir64-unknown-[[os]]-sycldevice-coff. Leaving
object format unset for CL mode is not right, as this results in
SYCLActionBuilder's inability to find the toolchain with a matching
triple.

Signed-off-by: Artem Gindinson <[email protected]>
@AGindinson AGindinson force-pushed the private/agindins/fix-clang-cl branch 2 times, most recently from 6f91538 to 259f39e Compare October 15, 2019 15:22
Copy link
Contributor

@alexbatashev alexbatashev left a comment

Choose a reason for hiding this comment

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

LGTM

mdtoguchi
mdtoguchi previously approved these changes Oct 15, 2019
v-klochkov
v-klochkov previously approved these changes Oct 15, 2019
@AGindinson AGindinson dismissed stale reviews from v-klochkov and mdtoguchi via 70aa1da October 15, 2019 17:08
@AGindinson AGindinson force-pushed the private/agindins/fix-clang-cl branch from 259f39e to 70aa1da Compare October 15, 2019 17:08
@romanovvlad romanovvlad merged commit 587b27d into intel:sycl Oct 16, 2019
@AGindinson AGindinson deleted the private/agindins/fix-clang-cl branch October 29, 2019 16:09
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