Skip to content

Commit

Permalink
Use xla/stream_executor/cuda:cuda_compute_capability_proto_cc_impl
Browse files Browse the repository at this point in the history
…only on non CUDA (#646)
  • Loading branch information
giordano authored Jan 28, 2025
1 parent 27330e0 commit 6951708
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions deps/ReactantExtra/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -474,11 +474,11 @@ cc_library(
"@llvm-project//mlir:SCFDialect",
"@llvm-project//mlir:TransformDialect",
"@llvm-project//mlir:Transforms",

"@llvm-project//mlir:LLVMIRToLLVMTranslation",
"@llvm-project//mlir:LLVMIRToNVVMTranslation",
"@llvm-project//mlir:LLVMIRTransforms",

"@llvm-project//llvm:IRReader",
"@llvm-project//llvm:Support",
"@llvm-project//llvm:AArch64AsmParser",
Expand All @@ -494,11 +494,10 @@ cc_library(
"@xla//xla/pjrt:pjrt_api",
"@xla//xla/pjrt:pjrt_c_api_client",
"@xla//xla/pjrt/cpu:cpu_client",

"@xla//xla:xla_proto_cc",
"@xla//xla:xla_proto_cc_impl",
"@xla//xla/stream_executor:device_description_proto_cc_impl",
"@xla//xla/stream_executor/cuda:cuda_compute_capability_proto_cc_impl",

"@xla//xla/service:metrics_proto_cc",
"@xla//xla/service:metrics_proto_cc_impl",
Expand All @@ -507,10 +506,10 @@ cc_library(
"@xla//xla/stream_executor/tpu:tpu_on_demand_compiler",
"@xla//xla/stream_executor/tpu:tpu_executor",
"@xla//xla/stream_executor/tpu:tpu_transfer_manager",

"@xla//xla/service/cpu:cpu_transfer_manager",
"@xla//xla/pjrt/gpu:se_gpu_pjrt_client",

"@xla//xla/tsl/protobuf:protos_all_cc_impl",
"@xla//xla/tsl/framework:allocator_registry_impl",

Expand Down Expand Up @@ -553,21 +552,22 @@ cc_library(
"@com_google_absl//absl/log:initialize",
"@com_google_absl//absl/log:globals",
"@llvm-project//mlir:CAPIIRObjects",
"@llvm-project//mlir:CAPILLVMObjects",
"@llvm-project//mlir:CAPILLVMObjects",
"@jax//jaxlib/mosaic:tpu_dialect_capi_objects",
"@jax//jaxlib/triton:triton_dialect_capi_objects",
] + select({
"@xla//xla/tsl:is_cuda_enabled_and_oss":[
"@xla//xla/stream_executor/cuda:all_runtime",
"@xla//xla/stream_executor/cuda:cuda_compute_capability_proto",
"@xla//xla/service/gpu/model:hlo_op_profiles",
"@xla//xla/service/gpu/model:hlo_op_profile_proto_cc_impl",
"@xla//xla/service/gpu:nvptx_compiler",
"@xla//xla/service/gpu:gpu_transfer_manager",
"@xla//xla/stream_executor:kernel",
"@xla//xla/backends/profiler/gpu:device_tracer",
],
"//conditions:default": [],
"@xla//xla/tsl:is_cuda_enabled_and_oss":[
"@xla//xla/stream_executor/cuda:all_runtime",
"@xla//xla/service/gpu/model:hlo_op_profiles",
"@xla//xla/service/gpu/model:hlo_op_profile_proto_cc_impl",
"@xla//xla/service/gpu:nvptx_compiler",
"@xla//xla/service/gpu:gpu_transfer_manager",
"@xla//xla/stream_executor:kernel",
"@xla//xla/backends/profiler/gpu:device_tracer",
],
"//conditions:default": [
"@xla//xla/stream_executor/cuda:cuda_compute_capability_proto_cc_impl",
],
}) + if_rocm([
"@xla//xla/service/gpu:amdgpu_compiler",
"@xla//xla/backends/profiler/gpu:device_tracer",
Expand Down

0 comments on commit 6951708

Please sign in to comment.