diff options
author | Jongsoo Park <jongsoo@fb.com> | 2019-09-03 15:01:41 +0300 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-09-03 15:05:48 +0300 |
commit | e55a59653b70ef67e8f48373566756c477cda7b5 (patch) | |
tree | 41c48852375be4b1b1895a4abbb3c20f6908534b /bench/PackedFloatInOutBenchmark.cc | |
parent | dc76fd4ce3094e929e2eda9c7860dcb8a559e098 (diff) |
disable clang formatting in a few array definitions (#121)
Summary:
Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/121
By adding "// clang-format off" and "// clang-format on" we can still apply clang-format to these files.
Reviewed By: jianyuh
Differential Revision: D17159312
fbshipit-source-id: de523536df4c33f0efe332f9bc7b0290cdac1ba0
Diffstat (limited to 'bench/PackedFloatInOutBenchmark.cc')
-rw-r--r-- | bench/PackedFloatInOutBenchmark.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/PackedFloatInOutBenchmark.cc b/bench/PackedFloatInOutBenchmark.cc index 66ca67e..dcea65c 100644 --- a/bench/PackedFloatInOutBenchmark.cc +++ b/bench/PackedFloatInOutBenchmark.cc @@ -28,6 +28,7 @@ using namespace std; using namespace fbgemm; void performance_test() { + // clang-format off vector<vector<int>> shapes = { // NOTE: clang-format wants to use a different formatting but the current // formatting should be easier to read. @@ -66,6 +67,7 @@ void performance_test() { {1, 128, 2722}, {16, 256, 512}, }; + // clang-format on bool flush = true; std::vector<char> llc; |