aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorBenoit Jacob <benoitjacob@google.com>2020-01-14 13:28:47 -0500
committerBenoit Jacob <benoitjacob@google.com>2020-03-10 16:42:16 -0400
commitd1a14aab38f01dc8c3a16a871ba8265cc1392669 (patch)
treee595c6dac0e438821b4624b6684a31850438682f /BUILD
parent652f1118a206f58a5bdbcb6f6f242355855a4629 (diff)
downloadruy-d1a14aab38f01dc8c3a16a871ba8265cc1392669.tar.gz
Remove ruy's dependency on the gemmlowp profiler.
Introduce the 'ruy profiler', a more modern descendent of it (pure C++11, correct, tested including under TSan, more useful features including formatted parametrized labels and better reporting of multi-thread profiles, treeview-manipulation API, more documentation, more accurate). Port ruy to using the ruy profiler (TFLite should follow). Add per-GEMM-shape profiling labels, now very easy thanks to formatted parametrized labels, previously too cumbersome to do to be submitted so we had to keep unsubmitted patches for that common profiling need. PiperOrigin-RevId: 289680118
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD41
1 files changed, 21 insertions, 20 deletions
diff --git a/BUILD b/BUILD
index 30c3583..b5dc32f 100644
--- a/BUILD
+++ b/BUILD
@@ -118,7 +118,7 @@ cc_library(
":opt_set",
":platform",
":time",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -196,7 +196,7 @@ cc_library(
":path",
":side_pair",
":size_util",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -362,7 +362,7 @@ cc_library(
":spec",
":tune",
"//third_party/gemmlowp:fixedpoint",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -384,7 +384,7 @@ cc_library(
":path",
":platform",
":tune",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -400,7 +400,7 @@ cc_library(
":kernel_common",
":opt_set",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -415,7 +415,7 @@ cc_library(
":opt_set",
":pack_common",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -435,7 +435,7 @@ cc_library(
":kernel_common",
":opt_set",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -452,7 +452,7 @@ cc_library(
":pack_common",
":path",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -488,7 +488,7 @@ cc_library(
":kernel_common",
":opt_set",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -505,7 +505,7 @@ cc_library(
":pack_common",
":path",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -545,7 +545,7 @@ cc_library(
":kernel_common",
":opt_set",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -562,7 +562,7 @@ cc_library(
":pack_common",
":path",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -602,7 +602,7 @@ cc_library(
":kernel_common",
":opt_set",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -619,7 +619,7 @@ cc_library(
":pack_common",
":path",
":platform",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -665,7 +665,7 @@ cc_library(
":spec",
":tune",
"//third_party/gemmlowp:fixedpoint",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -691,7 +691,7 @@ cc_library(
":path",
":platform",
":tune",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -777,7 +777,7 @@ cc_library(
":trace",
":trmul_params",
":tune",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -811,7 +811,7 @@ cc_library(
":trmul",
":trmul_params",
":tune",
- "//third_party/gemmlowp:profiler",
+ "//profiler:instrumentation",
],
)
@@ -859,6 +859,7 @@ cc_library(
":time",
"@com_google_googletest//:gtest",
":platform",
+ "//profiler:profiler",
] + ruy_test_ext_deps(),
)
@@ -875,8 +876,8 @@ ruy_benchmark(
("i8", "i8", "i32", "i32"),
],
deps = [
- "//third_party/gemmlowp:profiler", # Note also tagged as req_dep.
":test_lib",
+ "//profiler:instrumentation",
],
)
@@ -956,7 +957,7 @@ ruy_benchmark_opt_sets(
"7ff",
],
deps = [
- "//third_party/gemmlowp:profiler", # Note also tagged as req_dep.
":test_lib",
+ "//profiler:instrumentation",
],
)