Skip to content

Commit

Permalink
[apps] Fix dropout kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Jun 19, 2024
1 parent ae65e91 commit 6f13393
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/dropout/kernel/dropout.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
// Use asm, by default
#undef INTRINSICS

#include "runtime.h"

#ifndef SPIKE
#include "printf.h"
#endif
Expand Down
11 changes: 11 additions & 0 deletions apps/dropout/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@

#include "kernel/dropout.h"

#include <stdint.h>
#include <string.h>

#include "runtime.h"

#ifndef SPIKE
#include "printf.h"
#else
#include <stdio.h>
#endif

extern const unsigned int N;
extern const float SCALE;
extern const float I[] __attribute__((aligned(4 * NR_LANES)));
Expand Down

0 comments on commit 6f13393

Please sign in to comment.