Files
externals/linux/include/tensorflow/third_party/tensorrt/BUILD.tpl
T
2019-01-03 03:04:40 +00:00

40 lines
769 B
Smarty

# NVIDIA TensorRT
# A high-performance deep learning inference optimizer and runtime.
licenses(["notice"])
exports_files(["LICENSE"])
load("@local_config_cuda//cuda:build_defs.bzl", "cuda_default_copts")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "tensorrt_headers",
hdrs = [%{tensorrt_headers}],
includes = [
"include",
],
visibility = ["//visibility:public"],
)
cc_library(
name = "nv_infer",
srcs = [%{nv_infer}],
data = [%{nv_infer}],
includes = [
"include",
],
copts= cuda_default_copts(),
deps = [
"@local_config_cuda//cuda:cuda",
":tensorrt_headers",
],
linkstatic = 1,
visibility = ["//visibility:public"],
)
%{tensorrt_genrules}