From 6f1339356a58f62e91afaf454269fe3c54522021 Mon Sep 17 00:00:00 2001 From: Matteo Perotti Date: Tue, 27 Feb 2024 13:55:55 +0100 Subject: [PATCH] [apps] Fix dropout kernel --- apps/dropout/kernel/dropout.h | 2 -- apps/dropout/main.c | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/apps/dropout/kernel/dropout.h b/apps/dropout/kernel/dropout.h index 6806b181e..993877172 100644 --- a/apps/dropout/kernel/dropout.h +++ b/apps/dropout/kernel/dropout.h @@ -27,8 +27,6 @@ // Use asm, by default #undef INTRINSICS -#include "runtime.h" - #ifndef SPIKE #include "printf.h" #endif diff --git a/apps/dropout/main.c b/apps/dropout/main.c index c4fd6c4ce..9da4e775e 100644 --- a/apps/dropout/main.c +++ b/apps/dropout/main.c @@ -23,6 +23,17 @@ #include "kernel/dropout.h" +#include +#include + +#include "runtime.h" + +#ifndef SPIKE +#include "printf.h" +#else +#include +#endif + extern const unsigned int N; extern const float SCALE; extern const float I[] __attribute__((aligned(4 * NR_LANES)));