Community
cancel
Showing results for 
Search instead for 
Did you mean: 
okramer
New Contributor I
533 Views

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

Jump to solution
  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
323 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
323 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
323 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
323 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
324 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

Reply