[XLA] Define Tf_COMPILE_LIBRARY for two libraries (#15749)
This commit is contained in:
parent
af367f55ed
commit
a060e062cf
@ -4,6 +4,7 @@ package(
|
||||
default_visibility = ["//tensorflow/compiler/tf2xla:internal"],
|
||||
)
|
||||
|
||||
load("//tensorflow:tensorflow.bzl", "tf_copts")
|
||||
load("//tensorflow:tensorflow.bzl", "tf_kernel_library")
|
||||
|
||||
tf_kernel_library(
|
||||
@ -165,6 +166,7 @@ tf_kernel_library(
|
||||
cc_library(
|
||||
name = "index_ops_kernel_argmax_float_1d",
|
||||
srcs = ["index_ops_kernel_argmax_float_1d.cc"],
|
||||
copts = tf_copts(),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//tensorflow/compiler/xla/service/cpu:custom_call_target_registry",
|
||||
@ -177,6 +179,7 @@ cc_library(
|
||||
cc_library(
|
||||
name = "index_ops_kernel_argmax_float_2d",
|
||||
srcs = ["index_ops_kernel_argmax_float_2d.cc"],
|
||||
copts = tf_copts(),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//tensorflow/compiler/xla/service/cpu:custom_call_target_registry",
|
||||
|
Loading…
Reference in New Issue
Block a user