aboutsummaryrefslogtreecommitdiff
path: root/internal/pack_sse.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pack_sse.h')
-rw-r--r--internal/pack_sse.h10
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();