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

Introduce rocm-only tag and remove if_rocm_is_configured #2683

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Sep 12, 2024

Introduce rocm-only tag and remove if_rocm_is_configured

This replaces all if_rocm_is_configured guards in stream_executor/rocm/... with a filtering tag rocm-only. The CUDA build on the CI gets adjusted to skip those targets.

This uncovered some additional problems that get fixed as well:

  • A wrong library name for the hipfft library in the Bazel CUDA configuration
  • A wrong test case in the RocmVersionParser test that so far has not been running anywhere.
  • Missing tags for the platform alias targets in stream_executor/BUILD

@copybara-service copybara-service bot force-pushed the test_673362415 branch 5 times, most recently from 8b97c67 to 1b45fa3 Compare September 25, 2024 05:54
This replaces all `if_rocm_is_configured` guards in `stream_executor/rocm/...` with a filtering tag `rocm-only`. The CUDA build on the CI gets adjusted to skip those targets.

This uncovered some additional problems that get fixed as well:

- A wrong library name for the hipfft library in the Bazel CUDA configuration
- A wrong test case in the RocmVersionParser test that so far has not been running anywhere.
- Missing tags for the platform alias targets in `stream_executor/BUILD`

PiperOrigin-RevId: 678548961
@copybara-service copybara-service bot merged commit e7dc77f into main Sep 25, 2024
@copybara-service copybara-service bot deleted the test_673362415 branch September 25, 2024 06:21
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.

1 participant