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

Remove more GPU/CUDA/ROCm attribute guards from xla/service/gpu #16209

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Aug 19, 2024

Remove more GPU/CUDA/ROCm attribute guards from xla/service/gpu

  • This removes if_gpu_is_configured guards from targets that are only supposed to be built for GPU. (Also tags them as gpu so that they get automatically excluded from the CPU build)
  • This removes a bunch of local_defines = if_cuda_is_configured([GOOGLE_CUDA]) parameters from targets that don't use the GOOGLE_CUDA preprocessor definition (anymore).
  • Same for TENSORFLOW_USE_ROCM
  • It tags many gpu-only targets with gpu so that they won't be built in a CPU-only build.

@copybara-service copybara-service bot force-pushed the test_664760472 branch 6 times, most recently from e232380 to 8629ab6 Compare August 22, 2024 11:13
@copybara-service copybara-service bot force-pushed the test_664760472 branch 3 times, most recently from 48fd092 to 4c96b7b Compare August 30, 2024 13:11
@copybara-service copybara-service bot force-pushed the test_664760472 branch 12 times, most recently from 7f0dd63 to 25fd6ba Compare October 3, 2024 16:55
- This removes `if_gpu_is_configured` guards from targets that are only supposed to be built for GPU. (Also tags them as `gpu` so that they get automatically excluded from the CPU build)
- This removes a bunch of `local_defines = if_cuda_is_configured([GOOGLE_CUDA])` parameters from targets that don't use the `GOOGLE_CUDA` preprocessor definition (anymore).
- Same for `TENSORFLOW_USE_ROCM`
- It tags many gpu-only targets with `gpu` so that they won't be built in a CPU-only build.

PiperOrigin-RevId: 664760472
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