-
Notifications
You must be signed in to change notification settings - Fork 510
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
Add sycl build target #10244
Add sycl build target #10244
Conversation
Sorry for the delay in review here. Thanks for the PR! I imagine this is going to require a patch on our side, so this may take a while to merge. |
Imported from GitHub PR openxla/xla#10244 It is a sub PR of openxla/xla#9042. Then we can build xla with sycl support like: `bazel build --config=sycl xxx` Copybara import of the project: -- e1bc7ac90f3403a477ba14533dea972de6a2c262 by Sheng, Yang <[email protected]>: Add sycl build target Merging this change closes #10244 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#10244 from Intel-tensorflow:yang/syclbuild e1bc7ac90f3403a477ba14533dea972de6a2c262 PiperOrigin-RevId: 615176784
Hi @ddunl , what kind of patch is needed here, can we provide any help? |
As of right now I think the PR as structured is fine, it's just a build system difference internally vs externally that's the cause for the patch. Totally our responsibility to figure out. I'll ping here though if I find a change to this PR that could be helpful. I'll try to have the patch done by Friday. Thanks again!! |
Hi @ddunl , any update on this PR? Thanks. |
Working on my patch now, should be done soon. Very sorry for the delay here! |
PiperOrigin-RevId: 620365120
PiperOrigin-RevId: 620365120
PiperOrigin-RevId: 620365120
PiperOrigin-RevId: 620365120
@@ -0,0 +1,547 @@ | |||
"""Repository rule for SYCL autoconfiguration. | |||
|
|||
`sycl_configure` depends on the following environment variables: |
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.
Could we list which environment variables are depended on? My patch is done now, so just waiting on internal approvals, sorry again for the delay!!
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.
Great to hear the patch is done. I have updated the environment variables in comments.
PiperOrigin-RevId: 620365120
PiperOrigin-RevId: 620365120
PiperOrigin-RevId: 623599115
Hi @ddunl , can you look into this once? Thanks. |
This is PR is merged by another PR: #11271. It can be closed now. |
It is a sub PR of #9042.
Then we can build xla with sycl support like:
bazel build --config=sycl xxx