@@ -199,6 +199,7 @@ cc_library(
srcs = ["cpu_compiler.cc"],
hdrs = ["cpu_compiler.h"],
copts = tsl_copts(),
+ visibility = ["//visibility:public"],
deps = [
":buffer_info_util",
":compiler_functor",
@@ -510,6 +511,7 @@ cc_library(
],
hdrs = ["simple_orc_jit.h"],
copts = if_enable_acl(["-DXLA_CPU_USE_ACL=1"]) + tsl_copts(),
+ visibility = ["//visibility:public"],
deps = [
":compiler_functor",
":cpu_runtime",
@@ -553,6 +555,7 @@ cc_library(
hdrs = ["runtime_lightweight_check.h"],
compatible_with = get_compatible_with_portable(),
copts = runtime_copts(),
+ visibility = ["//visibility:public"],
)
cc_library(
@@ -641,6 +644,7 @@ cc_library(
"ir_emitter.h",
],
copts = tsl_copts(),
+ visibility = ["//visibility:public"],
deps = [
":backend_config_proto_cc",
":cpu_options",
@@ -873,6 +877,7 @@ cc_library(
"xfeed_manager.h",
],
copts = runtime_copts(),
+ visibility = ["//visibility:public"],
deps = [
"//xla:executable_run_options",
"//xla:refcounting_hash_map",
@@ -1986,6 +1986,7 @@ cc_library(
hdrs = [
"hlo_creation_utils.h",
],
+ visibility = ["//visibility:public"],
deps = [
":hlo_module_config",
":shape_inference",
@@ -648,7 +648,7 @@ cc_library(
name = "literal_comparison",
srcs = ["literal_comparison.cc"],
hdrs = ["literal_comparison.h"],
- visibility = [":friends"],
+ visibility = ["//visibility:public"],
deps = [
":error_spec",
":literal",