Skip to content

Commit 3d356f3

Browse files
committed
Add more const modifiers
1 parent 9533911 commit 3d356f3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

include/gemmini.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,9 +2424,9 @@ static void tiled_conv_A_stride(
24242424
int porows, int pocols, int pochs,
24252425
int krows, int kcols, int kchs,
24262426

2427-
elem_t * input,
2428-
elem_t * weights,
2429-
acc_t * bias,
2427+
const elem_t * input,
2428+
const elem_t * weights,
2429+
const acc_t * bias,
24302430
elem_t * output,
24312431

24322432
int act, acc_scale_t scale, size_t relu6_shift,
@@ -2593,9 +2593,9 @@ static void tiled_conv_A_stride_auto(
25932593
int out_channels, int out_dim,
25942594
int stride, int dilation, int padding, int kernel_dim,
25952595

2596-
elem_t * input,
2597-
elem_t * weights,
2598-
acc_t * bias,
2596+
const elem_t * input,
2597+
const elem_t * weights,
2598+
const acc_t * bias,
25992599
elem_t * output,
26002600

26012601
int act, acc_scale_t scale, size_t relu6_shift,
@@ -2812,9 +2812,9 @@ static void tiled_conv_dw(
28122812
int porows, int pocols,// int pochs,
28132813
// int krows, int kcols, int kchs,
28142814

2815-
elem_t * input,
2816-
elem_t * weights,
2817-
acc_t * bias,
2815+
const elem_t * input,
2816+
const elem_t * weights,
2817+
const acc_t * bias,
28182818
elem_t * output,
28192819

28202820
int act, acc_scale_t scale, size_t relu6_shift,

0 commit comments

Comments
 (0)