diff options
author | Daya S Khudia <dskhudia@fb.com> | 2018-10-13 01:48:13 +0300 |
---|---|---|
committer | Daya S Khudia <dskhudia@fb.com> | 2018-10-31 00:56:00 +0300 |
commit | e85b5a12254fa47ca6b56236489253a68fd32104 (patch) | |
tree | d62190c53913c65e136fb26dc89bfab38144e2c3 /bench/BenchUtils.h |
Initial commit
Diffstat (limited to 'bench/BenchUtils.h')
-rw-r--r-- | bench/BenchUtils.h | 18 |
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 |