Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/FBGEMM.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bench/BenchUtils.h')
-rw-r--r--bench/BenchUtils.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/bench/BenchUtils.h b/bench/BenchUtils.h
new file mode 100644
index 0000000..5dd452e
--- /dev/null
+++ b/bench/BenchUtils.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ * All rights reserved.
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+#pragma once
+#include <vector>
+#include "bench/AlignedVec.h"
+
+namespace fbgemm2 {
+
+template <typename T>
+void randFill(aligned_vector<T> &vec, const int low, const int high);
+
+void llc_flush(std::vector<char>& llc);
+
+} // namespace fbgemm2