Skip to content
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

[ROCm] clang support #17295

Closed
wants to merge 1 commit into from
Closed

[ROCm] clang support #17295

wants to merge 1 commit into from

Conversation

Ruturaj4
Copy link
Contributor

@Ruturaj4 Ruturaj4 commented Sep 18, 2024

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen

@Ruturaj4 Ruturaj4 marked this pull request as ready for review October 2, 2024 00:00
@derdrdirk derdrdirk requested a review from ddunl October 2, 2024 09:34
@i-chaochen
Copy link
Contributor

Hi @xla-rotation could you have a look, please! thanks!

@Ruturaj4
Copy link
Contributor Author

Ruturaj4 commented Oct 3, 2024

@ddunl lets hold off upstreaming this, we need some testing to do. I will ping you once it is done.

@Ruturaj4
Copy link
Contributor Author

Ruturaj4 commented Oct 3, 2024

@ddunl can you review/ merge now please. I have very few new changes particularly in BUILD.rocm.tpl and crosstool_wrapper_driver_rocm.tpl. Thanks!

copybara-service bot pushed a commit that referenced this pull request Oct 3, 2024
Imported from GitHub PR #17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f3164 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17295 from ROCm:ci_rv_clang b0f3164
PiperOrigin-RevId: 682045857
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 3, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682045857
copybara-service bot pushed a commit to google/tsl that referenced this pull request Oct 4, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit that referenced this pull request Oct 4, 2024
Imported from GitHub PR #17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f3164 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17295 from ROCm:ci_rv_clang b0f3164
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit that referenced this pull request Oct 4, 2024
Imported from GitHub PR #17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f3164 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17295 from ROCm:ci_rv_clang b0f3164
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 4, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit that referenced this pull request Oct 4, 2024
Imported from GitHub PR #17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f3164 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17295 from ROCm:ci_rv_clang b0f3164
PiperOrigin-RevId: 682444804
@ddunl
Copy link
Member

ddunl commented Oct 4, 2024

Made a couple extra changes to fix configure_test on ARM, should merge later today or Monday. Sorry for the delay!

copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 4, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit to google/tsl that referenced this pull request Oct 4, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit that referenced this pull request Oct 4, 2024
Imported from GitHub PR #17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f3164 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17295 from ROCm:ci_rv_clang b0f3164
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 4, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

Reverts 0927f90

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit to google/tsl that referenced this pull request Oct 7, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit that referenced this pull request Oct 7, 2024
Imported from GitHub PR #17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f3164 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17295 from ROCm:ci_rv_clang b0f3164
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682444804
copybara-service bot pushed a commit to google/tsl that referenced this pull request Oct 7, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

PiperOrigin-RevId: 683234976
@copybara-service copybara-service bot closed this in f59b4c5 Oct 7, 2024
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 683241935
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
This change:
- Makes GpuTimer a template that gets instantiated as CudaTimer
and RocmTimer.
- Moves the required GpuDriver functions into CudaDriver and RocmDriver
- Adjusts RocmExecutor and CudaExecutor accordingly

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 683198192
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 681625188
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 683252345
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
Imported from GitHub PR openxla/xla#17295

Brings up clang support for ROCm XLA. This is required to implement clang support for JAX+XLA for ROCm.

@draganmladjenovic @i-chaochen
Copybara import of the project:

--
b0f316408f62052125973cfff6f9371a91e84464 by Ruturaj4 <[email protected]>:

[ROCm] clang support

Merging this change closes #17295

PiperOrigin-RevId: 683234976
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 682462156
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Oct 7, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#17295 from ROCm:ci_rv_clang b0f316408f62052125973cfff6f9371a91e84464
PiperOrigin-RevId: 683251587
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.

3 participants