diff options
author | Lev Proleev <levp@google.com> | 2021-03-12 14:42:26 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-03-12 14:42:26 +0000 |
commit | 1937d45f35138a0bc90fb7072df5abed34d9ad55 (patch) | |
tree | a29716289a0b730ca66a3e632c6ce054eb3b90d6 /internal/pack_sse.h | |
parent | 52376d2cf62d41c702d9fa6c7fbcbd322cacde7f (diff) | |
parent | 2a3192a8a00a85121171c2034e6cee092551ddd2 (diff) | |
download | gemmlowp-1937d45f35138a0bc90fb7072df5abed34d9ad55.tar.gz |
Merge "Update gemmlowp to 13d57703abca3005d97b19df1f2db731607a7dc2" am: 2a3192a8a0
Original change: https://android-review.googlesource.com/c/platform/external/gemmlowp/+/1610833
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia3d60decf6dff0ee3ef5d27c538275dce0c3afc1
Diffstat (limited to 'internal/pack_sse.h')
-rw-r--r-- | internal/pack_sse.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/pack_sse.h b/internal/pack_sse.h index 52163c4..b729014 100644 --- a/internal/pack_sse.h +++ b/internal/pack_sse.h @@ -41,11 +41,11 @@ class PackingRegisterBlock< public: typedef WidthMajorSideFormatNCells4x2<Cells> KernelSideFormat; typedef typename KernelSideFormat::Cell CellFormat; - static const int kCells = KernelSideFormat::kCells; - static const int kCellWidth = CellFormat::kWidth; - static const int kKernelWidth = CellFormat::kWidth * kCells; - static const int kCellDepth = CellFormat::kDepth; - static const int kCellSize = CellFormat::kSize; + static constexpr int kCells = KernelSideFormat::kCells; + static constexpr int kCellWidth = CellFormat::kWidth; + static constexpr int kKernelWidth = CellFormat::kWidth * kCells; + static constexpr int kCellDepth = CellFormat::kDepth; + static constexpr int kCellSize = CellFormat::kSize; void Pack(PackedSideBlock<KernelSideFormat>* dst, int start_width) { std::uint8_t* dst_ptr = dst->current_data(); |