summaryrefslogtreecommitdiff
path: root/TRNS/dpu/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'TRNS/dpu/task.c')
-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);