I have a question about the KEY_TYPE in the database/L1/tests/hw/compound_sort directory. Is it not compatible with float or double data types? I tried changing KEY_TYPE to float, but the sorted data became integers instead. Is KEY_TYPE used to change the width of the original ap_uint<32> integer data type?
I print the elements in the in_strm and out_strm,the elements in the in_strm are floating numbers but the elements in the out_strm are integer numbers.
Hi there,
I have a question about the
KEY_TYPE
in thedatabase/L1/tests/hw/compound_sort
directory. Is it not compatible withfloat
ordouble
data types? I tried changingKEY_TYPE
to float, but the sorted data became integers instead. IsKEY_TYPE
used to change the width of the originalap_uint<32>
integer data type?Thank you for your help.