PR #27904: [XLA:GPU][oneAPI] Enable Clang compiler as the host compiler #97333
+111
−21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR #27904: [XLA:GPU][oneAPI] Enable Clang compiler as the host compiler
Imported from GitHub PR openxla/xla#27904
This PR configures CLANG as the host compiler while using ICPX for device-side compilation. By default, GCC is selected as the host compiler, but enabling the --config=icpx_clang flag will switch the host compiler to CLANG.
Copybara import of the project:
--
9e4190e4c627e853ddd9dbcde936f733101c1211 by mraunak mayank.kumar.raunak@intel.com:
Create ci_build_xla.sh
Build with Clang
bdc183da860a31f1be2f6dd3858a8ac44a53f9d2 by mraunak mayank.kumar.raunak@intel.com:
Update configure.py
1a874cf69fd84d69b26ac4e37843887ac8291bb8 by mraunak mayank.kumar.raunak@intel.com:
Add Clang as host compiler for oneAPI
342b1d67645f6fedc9ad48ea699fe558e273530b by mraunak mayank.kumar.raunak@intel.com:
Update sycl_configure.bzl
2f38e0d154977ecac50bdb220060789a0f835c22 by mraunak mayank.kumar.raunak@intel.com:
Update BUILD.sycl.tpl
7df8e577fea5861b2b28cc18906b289b4e9ac5df by mraunak mayank.kumar.raunak@intel.com:
Update ci_build_xla.sh
bef3a5ca6faf1378636de287996a70ce8177cb95 by mraunak mayank.kumar.raunak@intel.com:
Update sycl_configure.bzl
a960ff7855f5dcefebd0913d7b7712e579028cac by mraunak mayank.kumar.raunak@intel.com:
Update tensorflow.bazelrc
2d60209a0333204c5abb907501abff4d0af21271 by mraunak mayank.kumar.raunak@intel.com:
Update ci_test_xla.sh
8a5db012f9f1e664711c3fbb90c7215f21effd2d by mraunak mayank.kumar.raunak@intel.com:
Address the comments
735f4591654ee377f808001959cd566b4b6a0544 by mraunak mayank.kumar.raunak@intel.com:
Address the comments
e7c412d19b25804c4fa4fb0b65329146c983a6e3 by mraunak mayank.kumar.raunak@intel.com:
Address the comment
b456c8f8dca013bb730a733b1f988646a0a744bb by mraunak mayank.kumar.raunak@intel.com:
Update tensorflow.bazelrc
cedc8586494f789e5ec92aef30e64e866a6b022d by mraunak mayank.kumar.raunak@intel.com:
Apply patch to PR
--
d2dc3846a7fdd55f35fc66f314ad56265e963c59 by mraunak mayank.kumar.raunak@intel.com:
fix the test failure
--
33a3ca34306b6047881f499aa76fc69b4f5003a6 by mraunak mayank.kumar.raunak@intel.com:
Resolve merge conflicts
329b71e7c72e1df001f9d104c25f44032739cc02 by mraunak mayank.kumar.raunak@intel.com:
Update sycl_configure.bzl
Merging this change closes #27904
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#27904 from Intel-tensorflow:mraunak/Hermetic_CLANG 329b71e7c72e1df001f9d104c25f44032739cc02