Skip to content

Commit 84c3f3a

Browse files
committed
feat[shared_library]: started a predict function in host code
1 parent 79f3534 commit 84c3f3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hls4ml/templates/vitis_accelerator/myproject_host_cl.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
#include "kernel_wrapper.h"
77
#include "xcl2.hpp"
88

9+
void predict(double *input, uint64_t input_size, double *output, uint64_t output_size) {
10+
// TODO : Modify the databatcher so it can take those arrays instead of reading and writing files.
11+
12+
return;
13+
}
14+
915
int main(int argc, char **argv) {
1016

1117
Params params(argc, argv);

0 commit comments

Comments
 (0)