![]() In the Arguments tab enter either cpu or gpu, depending on which device you want to use for running and debugging this sample application. In the Debugger tab, set the GDB debugger to gdb-oneapi instead of gdb. This is the name of the application’s compiled binary which we will debug. Select Run -> Debug Configurations to create a Debug Configuration window.ĭouble-click the C/C++ Application option to create a new Debug Configuration.Įnter array-transform for the C/C++ Application field. See this guide on how to setup a oneAPI sample project in the Eclipse IDE.Īdd a breakpoint in array-transform.cpp on line 55 by double-clicking the margin just left of the line number in the source code editor. ![]() You will need to setup the Base Kit environment before launching Eclipse and in order to compile the sample application. We are using the array-transform application as an example. If the Base Kit is already installed, you can install Eclipse as described in step 1, below. Click “Select Eclipse IDE Configuration” and browse to select the Eclipse installation path. If you haven’t yet installed the Intel® oneAPI Base Toolkit (Base Kit), follow these steps:ĭuring installation, you are asked if you want to set up your IDE. Add this URL to your Eclipse Installation to reach this solution's update site.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |