1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-21 15:44:25 +00:00

Add hls partition

Co-authored-by: Fabio Zanichelli <274956@studenti.unimore.it>
This commit is contained in:
Gattopandacorno 2022-12-19 12:23:39 +01:00
parent 6f1f6bc1b6
commit dbeda0bcb2

View file

@ -15,6 +15,8 @@ void sobel(uint8_t *__restrict__ out, uint8_t *__restrict__ in)
{-2, 0, 2}, {-2, 0, 2},
{-1, 0, 1} {-1, 0, 1}
}; };
#pragma HLS ARRAY_PARTITION variable=sobelFilter complete dim=0
// Carica le prime tre righe nel buffer // Carica le prime tre righe nel buffer
uint8_t inBuffer[3*HEIGHT]; uint8_t inBuffer[3*HEIGHT];