Intel® FPGA Software Installation & Licensing
Installation and Licensing that’s includes Intel Quartus® Prime software, ModelSim* - Intel FPGA Edition software, Nios® II Embedded Design Suite on Windows or Linux operating systems.
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
856 Discussions

What is OneAPI and how does it fit in with other dev tools?

okramer
New Contributor I
900 Views
  1. What is the difference/relationship between the OpenCL aoc compiler and the dpc++ compiler that comes with OneAPI?
  2. How does OneAPI relate to System Studio?
  3. What is the recommended workflow for developing in OpenCL/C++ for FPGA?
  4. Is Eclipse the only choice for IDE in order to take advantage of the profiling features? Or can I use cmake-based CLion instead?
0 Kudos
1 Solution
GRN
Novice
690 Views

 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.

View solution in original post

4 Replies
GRN
Novice
690 Views
  1. dpc++ calls aoc
  2. AFAIK System Studio doesn't relate to OneAPI
  3. What do you mean? It's usual workflow for OpenCL FPGA: first is emulator for debug, the second is full compile
  4. AFAIK OneAPI plugin for Eclipse can generate only compiler report and doesn't support dynamic profile
okramer
New Contributor I
690 Views

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.

MEIYAN_L_Intel
Employee
690 Views

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-...

Thanks

GRN
Novice
691 Views

 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.

Reply