1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
package(
default_visibility = ["//tensorflow:internal"],
features = [
"-layering_check",
"-parse_headers",
],
)
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
cc_library(
name = "checker",
hdrs = ["checker.h"],
deps = [
"//tensorflow/core:lib",
"//tensorflow/tools/tfprof/internal:tfprof_stats",
],
)
cc_library(
name = "internal_checker_runner_dummy",
srcs = ["internal_checker_runner_dummy.cc"],
hdrs = ["internal_checker_runner.h"],
deps = [
"//tensorflow/tools/tfprof/internal:tfprof_utils",
],
)
cc_library(
name = "accelerator_utilization_checker",
hdrs = ["accelerator_utilization_checker.h"],
deps = [
":checker",
],
)
cc_library(
name = "operation_checker",
hdrs = ["operation_checker.h"],
deps = [
":checker",
],
)
cc_library(
name = "tfprof_advisor",
hdrs = ["tfprof_advisor.h"],
deps = [
":accelerator_utilization_checker",
":checker",
":internal_checker_runner_dummy",
":operation_checker",
],
)
tf_cc_test(
name = "tfprof_advisor_test",
srcs = ["tfprof_advisor_test.cc"],
deps = [
":tfprof_advisor",
"//tensorflow/tools/tfprof/internal:tfprof_tf_testlib",
],
)
# -----------------------------------------------------------------------------
# Google-internal targets. These must be at the end for syncrepo.
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
],
),
visibility = ["//tensorflow:__subpackages__"],
)
|