You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the example in samples folder, I found ScaleHLS can only support int and float types as inputs. If I try to use other types like bool and ap_int<N>, it will tell me the type name is unknown. Is this the limitation of Polygeist or simply not implemented by ScaleHLS?
The text was updated successfully, but these errors were encountered:
Hi @chhzh123, I think you should be able to parse in bool type by including stdbool.h. Meanwhile, you'll need to set -I <location of your C headers> when calling mlir-clang. For ap_int<N>, because it's from Xilinx HLS library, I'm not sure whether there's a path to parse it in today's mlir-clang.
Thanks for your reply! I actually noticed you had test cases for arbitrary integers and also had corresponding HLS codegen, so does that mean scalehls-opt can support those types if I directly code in MLIR instead of writing a C program?
Based on the example in
samples
folder, I found ScaleHLS can only supportint
andfloat
types as inputs. If I try to use other types likebool
andap_int<N>
, it will tell me the type name is unknown. Is this the limitation of Polygeist or simply not implemented by ScaleHLS?The text was updated successfully, but these errors were encountered: