Add mlir based xla gpu jit target.
PiperOrigin-RevId: 285166520 Change-Id: Ia57dd65fbe19f9819dfeb46ef53b5f808693861e
This commit is contained in:
parent
a61b8965fe
commit
02a94bf820
@ -71,6 +71,19 @@ cc_library(
|
|||||||
alwayslink = 1,
|
alwayslink = 1,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cc_library(
|
||||||
|
name = "xla_mlir_gpu_jit",
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
deps = if_cuda_or_rocm([
|
||||||
|
":jit_compilation_passes",
|
||||||
|
"//tensorflow/compiler/jit/kernels:xla_ops",
|
||||||
|
"//tensorflow/compiler/tf2xla/kernels:xla_ops",
|
||||||
|
"//tensorflow/compiler/tf2xla/kernels:xla_dummy_ops",
|
||||||
|
"//tensorflow/compiler/xla/service:mlir_gpu_plugin",
|
||||||
|
]),
|
||||||
|
alwayslink = 1,
|
||||||
|
)
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "xla_cpu_device",
|
name = "xla_cpu_device",
|
||||||
srcs = ["xla_cpu_device.cc"],
|
srcs = ["xla_cpu_device.cc"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user