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

github.com/google/ruy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Jacob <benoitjacob@google.com>2020-04-10 06:20:45 +0300
committerCopybara-Service <copybara-worker@google.com>2020-04-10 06:21:04 +0300
commitd681fa83a7f3801a7feea51c62247945c316226c (patch)
treeb3ba92edb1d9afc1eaa7eb30670fecf95f3b179d /ruy/block_map.h
parente7a04be9244541a915bfeb76576e1beee5ef4f68 (diff)
Compile without -Wunused-params warnings (enabled at -Wextra).
This actually allows to shorted some long parameter lists in kernel and pack functions, and found that block_map did not need to depend on path. PiperOrigin-RevId: 305814207
Diffstat (limited to 'ruy/block_map.h')
-rw-r--r--ruy/block_map.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ruy/block_map.h b/ruy/block_map.h
index 556853f..8fdd702 100644
--- a/ruy/block_map.h
+++ b/ruy/block_map.h
@@ -16,7 +16,6 @@ limitations under the License.
#ifndef RUY_RUY_BLOCK_MAP_H_
#define RUY_RUY_BLOCK_MAP_H_
-#include "ruy/path.h"
#include "ruy/side_pair.h"
namespace ruy {
@@ -115,9 +114,8 @@ BlockMapTraversalOrder GetTraversalOrder(int rows, int cols, int depth,
// matrix multiplication with the given parameters.
void MakeBlockMap(int rows, int cols, int depth, int kernel_rows,
int kernel_cols, int lhs_scalar_size, int rhs_scalar_size,
- int tentative_thread_count, Path path,
- int local_data_cache_size, int shared_data_cache_size,
- BlockMap* block_map);
+ int tentative_thread_count, int local_data_cache_size,
+ int shared_data_cache_size, BlockMap* block_map);
// Maps an integer index to a block position in the grid.
void GetBlockByIndex(const BlockMap& block_map, int index,