Forum Discussion
Hi Boonbeng,
Sorry for the late reply, Yes I've read the document, I've tried to compile that into an RTL way (which is synthsis the HLS code to an RTL module and use the rtl module and a c-sim function as the input of the fpga_crossgen, but because the HLS code is quite complicated which includes many streams_in /stream_out(avalon ST) interface, so I failed to manage complete the crossgen successfully according to the document you mentioned . But the document also mention the input arguments and the usage of fpga_corssgen( by invoke fpga_crossgen --help) also indicate that I can input a .cpp file and choose hls as the source (--source hls) and select target as sycl (--target sycl) to generate an object file suitable for sycl.
fpga_crossgen ./compute_kernel.cpp --source hls --target sycl -o compute_kernel.o
and that cause the problem in my first post. is that a valid operation?
if ture, then comes to the int128 problem. I tried to solve the int128 problem but not work. here are my attempts.
the website you mentioned , the url provided by jimdempseyatthecove is not able to access.
I've tried the http://mx-3.cz/tringi/www/int128 class but the class is used not for oneAPI or hls kernel because of the usage of "throw" etc. is not allowed.
I guess the problem may be some library include problem becasue when I use ipcx to compile the code with -fhls flag it exit with out error. (but this seems not able to make the hls code interact with the oneAPI kernel).
Best Regards,
Jia