Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 681670724
  • Loading branch information
IllogicalMoose authored and Google-ML-Automation committed Oct 3, 2024
1 parent da687fc commit e151a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xla/tsl/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ alias(
name = "is_cuda_enabled",
actual = if_oss(
"@local_config_cuda//:is_cuda_enabled",
"@local_config_cuda//cuda:using_clang",
"@local_config_cuda//cuda:using_config_cuda",
),
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 1 addition & 2 deletions xla/tsl/tsl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ def if_cuda_or_rocm(if_true, if_false = []):
"""
return select({
"@local_config_cuda//cuda:using_nvcc": if_true,
"@local_config_cuda//cuda:using_clang": if_true,
clean_dep("//xla/tsl:is_cuda_enabled"): if_true,
"@local_config_rocm//rocm:using_hipcc": if_true,
"//conditions:default": if_false,
})
Expand Down

0 comments on commit e151a58

Please sign in to comment.