xla icon indicating copy to clipboard operation
xla copied to clipboard

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

Open copybara-service[bot] opened this issue 1 year ago • 0 comments

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[bot] avatar Aug 19 '24 12:08 copybara-service[bot]