What is OneAPI and how does it fit in with other dev tools? - What is OneAPI and how does it fit in with other dev tools?
What is the difference/relationship between the OpenCL aoc compiler and the dpc++ compiler that comes with OneAPI? How does OneAPI relate to System Studio? What is the recommended workflow for developing in OpenCL/C++ for FPGA? Is Eclipse the only choice for IDE in order to take advantage of the profiling features? Or can I use cmake-based CLion instead?
Replies:
Re: What is OneAPI and how does it fit in with other dev tools?
For (3), I mean: what is the preferred way to develop and debug FPGA host & device OpenCL code? Currently no IDEs support OpenCL device code for Intel FPGA. Only aoc command line. But you can create host code in any IDE, but separately from device code.
Replies:
Re: What is OneAPI and how does it fit in with other dev tools?
Hi, Based on my understanding, OpenCL software is used OpenCL compiler while the DPC++ is used SYCL compiler. For information about these two compiler, you may need to look into the link below: https://www.khronos.org/assets/uploads/developers/library/2017-supercomputing/SYCL-and-OpenCL-State-of-the-Nation_Nov17.pdf Thanks
Replies:
Re: What is OneAPI and how does it fit in with other dev tools?
Thanks. For (3), I mean: what is the preferred way to develop and debug FPGA host & device OpenCL code? Is it using SystemStudio or OneAPI? I'm using CLion with custom build step defined for the device code that works well. I can step through my kernel in emulation mode. But this doesn't give me any profiling info that presumably SS and 1API give.
Replies:
Re: What is OneAPI and how does it fit in with other dev tools?
dpc++ calls aoc AFAIK System Studio doesn't relate to OneAPI What do you mean? It's usual workflow for OpenCL FPGA: first is emulator for debug, the second is full compile AFAIK OneAPI plugin for Eclipse can generate only compiler report and doesn't support dynamic profile - 2020-01-13
external_document