From e19e8b96368fefe1bc61875c1f84800786499eb9 Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <maltanar@gmail.com> Date: Wed, 4 Dec 2019 00:06:36 +0000 Subject: [PATCH] [Test] fix npy2apintstream tests by including cstddef may be a Vivado HLS version-dependent problem... --- tests/fpgadataflow/test_npy2hls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/fpgadataflow/test_npy2hls.py b/tests/fpgadataflow/test_npy2hls.py index 884c16cc3..f2956a85a 100644 --- a/tests/fpgadataflow/test_npy2hls.py +++ b/tests/fpgadataflow/test_npy2hls.py @@ -32,6 +32,7 @@ def make_npy2apintstream_testcase(ndarray, dtype): npy_type = npyt_to_ct[str(ndarray.dtype)] shape_cpp_str = str(shape).replace("(", "{").replace(")", "}") test_app_string = [] + test_app_string += ["#include <cstddef>"] test_app_string += ['#include "ap_int.h"'] test_app_string += ['#include "stdint.h"'] test_app_string += ['#include "hls_stream.h"'] -- GitLab