Skip to content

PR #28257: [XLA:GPU] Update ONEAPI crosstool compiler wrapper #97149

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

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

copybara-service[bot]
Copy link

PR #28257: [XLA:GPU] Update ONEAPI crosstool compiler wrapper

Imported from GitHub PR openxla/xla#28257

This PR updates the Crosstool wrapper compiler template to:

Invoke the ICPX (oneAPI C++ Compiler) compiler for device-side code.
Use the host compiler (e.g., Clang or GCC) for host-side code.

Key Changes
Configures the wrapper to efficiently delegate between device and host compilers.
Adds necessary compilation and linking flags for both device-side and host-side builds to ensure proper integration with DPC++.
Copybara import of the project:

--
2de4c6f99752710284154bfc15932c712fdf4c06 by mraunak mayank.kumar.raunak@intel.com:

Update crosstool_wrapper_driver_sycl.tpl

e1f175a67d1ba8d9613ab2b9454041edd88f9f11 by mraunak mayank.kumar.raunak@intel.com:

Update sycl_configure.bzl

ae9cf8219a557851fb513f346234c7082f4d9d1a by mraunak mayank.kumar.raunak@intel.com:

Update sycl_cc_toolchain_config.bzl.tpl

7b013c39e94670446975157e2714bbc11b6e66c2 by mraunak mayank.kumar.raunak@intel.com:

Update BUILD.sycl.tpl

93e8a2a65dd80a22b668f3b600128d6b00fff94e by mraunak mayank.kumar.raunak@intel.com:

Create ar_driver.tpl

2da8b2a30f326a307dee93648fb92623e1cbb19f by mraunak mayank.kumar.raunak@intel.com:

Update sycl_configure.bzl

e30ee27286a8f011908fe4d72d7028d961e0e5a5 by mraunak mayank.kumar.raunak@intel.com:

Update sycl_configure.bzl

b702b8059f4bf7a99c41b24a7653ee819fc20ab0 by mraunak mayank.kumar.raunak@intel.com:

Update sycl_configure.bzl

af90e0b8b1d48f589284d8aabf5d2bf5a37fbdb4 by mraunak mayank.kumar.raunak@intel.com:

Rename ar_driver.tpl to ar_driver_sycl.tpl

a511d4a17af0e576d2854a023a0e2f00ef58a6b1 by mraunak mayank.kumar.raunak@intel.com:

Fix the linking error

11a49a03dcb8c5e0fcd481a02ef089e82e25f433 by mraunak mayank.kumar.raunak@intel.com:

Addressed the comment

abcc2dbae290e3b9e33ea070bdb141216a980b3a by mraunak mayank.kumar.raunak@intel.com:

Update crosstool_wrapper_driver_sycl.tpl

b18a666a7e1fe0d2e2b48e4419648326192e9f7a by mraunak mayank.kumar.raunak@intel.com:

Update sycl_cc_toolchain_config.bzl.tpl

b56289528dcc3b348b39caaa9f82d9f776901804 by mraunak mayank.kumar.raunak@intel.com:

Update ar_driver_sycl.tpl

93eb65be6249699795c5871d68cd0649141af4d4 by mraunak mayank.kumar.raunak@intel.com:

Addressed the comment

Merging this change closes #28257

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#28257 from Intel-tensorflow:mraunak/compiler/refactor 93eb65be6249699795c5871d68cd0649141af4d4

@copybara-service copybara-service bot force-pushed the exported_pr_784324765 branch from a47e724 to ae6df38 Compare July 18, 2025 18:23
Imported from GitHub PR openxla/xla#28257

This PR updates the Crosstool wrapper compiler template to:

Invoke the ICPX (oneAPI C++ Compiler) compiler for device-side code.
Use the host compiler (e.g., Clang or GCC) for host-side code.

**Key Changes**
Configures the wrapper to efficiently delegate between device and host compilers.
Adds necessary compilation and linking flags for both device-side and host-side builds to ensure proper integration with DPC++.
Copybara import of the project:

--
2de4c6f99752710284154bfc15932c712fdf4c06 by mraunak <mayank.kumar.raunak@intel.com>:

Update crosstool_wrapper_driver_sycl.tpl
--
e1f175a67d1ba8d9613ab2b9454041edd88f9f11 by mraunak <mayank.kumar.raunak@intel.com>:

Update sycl_configure.bzl
--
ae9cf8219a557851fb513f346234c7082f4d9d1a by mraunak <mayank.kumar.raunak@intel.com>:

Update sycl_cc_toolchain_config.bzl.tpl
--
7b013c39e94670446975157e2714bbc11b6e66c2 by mraunak <mayank.kumar.raunak@intel.com>:

Update BUILD.sycl.tpl
--
93e8a2a65dd80a22b668f3b600128d6b00fff94e by mraunak <mayank.kumar.raunak@intel.com>:

Create ar_driver.tpl
--
2da8b2a30f326a307dee93648fb92623e1cbb19f by mraunak <mayank.kumar.raunak@intel.com>:

Update sycl_configure.bzl
--
e30ee27286a8f011908fe4d72d7028d961e0e5a5 by mraunak <mayank.kumar.raunak@intel.com>:

Update sycl_configure.bzl
--
b702b8059f4bf7a99c41b24a7653ee819fc20ab0 by mraunak <mayank.kumar.raunak@intel.com>:

Update sycl_configure.bzl
--
af90e0b8b1d48f589284d8aabf5d2bf5a37fbdb4 by mraunak <mayank.kumar.raunak@intel.com>:

Rename ar_driver.tpl to ar_driver_sycl.tpl
--
a511d4a17af0e576d2854a023a0e2f00ef58a6b1 by mraunak <mayank.kumar.raunak@intel.com>:

Fix the linking error
--
11a49a03dcb8c5e0fcd481a02ef089e82e25f433 by mraunak <mayank.kumar.raunak@intel.com>:

Addressed the comment
--
abcc2dbae290e3b9e33ea070bdb141216a980b3a by mraunak <mayank.kumar.raunak@intel.com>:

Update crosstool_wrapper_driver_sycl.tpl
--
b18a666a7e1fe0d2e2b48e4419648326192e9f7a by mraunak <mayank.kumar.raunak@intel.com>:

Update sycl_cc_toolchain_config.bzl.tpl
--
b56289528dcc3b348b39caaa9f82d9f776901804 by mraunak <mayank.kumar.raunak@intel.com>:

Update ar_driver_sycl.tpl
--
93eb65be6249699795c5871d68cd0649141af4d4 by mraunak <mayank.kumar.raunak@intel.com>:

Addressed the comment

Merging this change closes #28257

PiperOrigin-RevId: 784652414
@copybara-service copybara-service bot force-pushed the exported_pr_784324765 branch from ae6df38 to 790d3a0 Compare July 18, 2025 18:54
@copybara-service copybara-service bot merged commit 790d3a0 into master Jul 18, 2025
@copybara-service copybara-service bot deleted the exported_pr_784324765 branch July 18, 2025 18:54
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.

tf.py_function doesn't calculate output shape correctly when using in dataset.map
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy