Skip to content

Commit

Permalink
Remove TODOs, checked padding
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamac committed Jan 27, 2024
1 parent d9c45ef commit 29ee483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions neureka/hal/neureka_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ void neureka_task_set_counters(neureka_task_t *task, const uint32_t k_in,
const uint16_t rem_Ki = remainder(k_in, task->subtile_input_channel);
const uint16_t rem_Ho = remainder(h_out, NEUREKA_SUBTILE_OUTPUT_HEIGHT);
const uint16_t rem_Wo = remainder(w_out, NEUREKA_SUBTILE_OUTPUT_WIDTH);
const uint16_t rem_Hi = (task->kernel_shape == 1 ? rem_Ho : rem_Ho + 2) -
padding_bottom; // TODO: Check padding bottom
const uint16_t rem_Wi = (task->kernel_shape == 1 ? rem_Wo : rem_Wo + 2) -
padding_right; // TODO: Check padding right
const uint16_t rem_Hi =
(task->kernel_shape == 1 ? rem_Ho : rem_Ho + 2) - padding_bottom;
const uint16_t rem_Wi =
(task->kernel_shape == 1 ? rem_Wo : rem_Wo + 2) - padding_right;

const neureka_subtile_t subtile = {
.number = {.KoKi = concat_half(num_Ko, num_Ki),
Expand Down

0 comments on commit 29ee483

Please sign in to comment.