• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//tensorflow:tensorflow.bzl", "get_compatible_with_portable")
2load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
3
4package(
5    default_visibility = [
6        "//tensorflow:internal",
7        "@tf_runtime//:friends",
8    ],
9    licenses = ["notice"],
10)
11
12cc_library(
13    name = "async_runtime_api",
14    srcs = ["async_runtime_api.cc"],
15    hdrs = ["async_runtime_api.h"],
16    compatible_with = get_compatible_with_portable(),
17    deps = [
18        "//tensorflow/compiler/xla/runtime:async_runtime",
19        "@llvm-project//llvm:OrcJIT",
20        "@llvm-project//llvm:Support",
21        "@llvm-project//mlir:mlir_async_runtime_api",
22        "@tf_runtime//:hostcontext",
23        "@tf_runtime//:support",
24    ],
25)
26
27cc_library(
28    name = "c_runner_utils",
29    hdrs = ["c_runner_utils.h"],
30    compatible_with = get_compatible_with_portable(),
31    deps = [
32        "@llvm-project//llvm:OrcJIT",
33        "@llvm-project//mlir:mlir_c_runner_utils",
34    ],
35)
36
37cc_library(
38    name = "constraints",
39    srcs = ["constraints.cc"],
40    hdrs = ["constraints.h"],
41    compatible_with = get_compatible_with_portable(),
42    deps = [
43        "//tensorflow/compiler/xla/runtime:constraints",
44        "@llvm-project//llvm:Support",
45        "@llvm-project//mlir:FuncDialect",
46        "@llvm-project//mlir:IR",
47        "@tf_runtime//:support",
48    ],
49)
50