summaryrefslogtreecommitdiff
path: root/TRNS/dpu
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-28 08:41:02 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-28 08:41:02 +0200
commit5b26042cbcfe4328ab98a9b9cf3cb562b4139e64 (patch)
tree9b7fa499c04297869881691ad891c6261eab3e39 /TRNS/dpu
parent8ada8f20599cd81545b470e5fb906de8d5e54052 (diff)
TRNS DPU: Correctly initalize task so that it's actually repeatable
Diffstat (limited to 'TRNS/dpu')
-rw-r--r--TRNS/dpu/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/TRNS/dpu/task.c b/TRNS/dpu/task.c
index 56d5059..0f5e4be 100644
--- a/TRNS/dpu/task.c
+++ b/TRNS/dpu/task.c
@@ -81,6 +81,7 @@ int main_kernel2() {
#endif
if (tasklet_id == 0){ // Initialize once the cycle counter
mem_reset(); // Reset the heap
+ curr_tile = 0;
}
// Barrier
barrier_wait(&my_barrier);