Run a Sample Project with
Visual Studio*
Visual Studio*
Intel® oneAPI IoT Toolkit
If you are using
Visual Studio*
with FPGA see the FPGA Workflows on Third-Party IDEs for Intel® oneAPI Toolkits.
Building a Project Using Microsoft* Visual Studio*
If you are using Visual Studio 2019, samples will only work with version 16.4.0 and later.
Support for Visual Studio* 2017 is deprecated as of the Intel® oneAPI 2022.1 release, and will be removed in a future release.
An internet connection is required to download the samples for oneAPI toolkits. For information on how to use this toolkit offline, see
Developing with Offline Systems in the Troubleshooting section.
To watch a video presentation of how to create a project, see
Intel® oneAPI Visual Studio Samples Browser.
- Open Microsoft Visual Studio*.
- For Visual Studio 2019 and 2022, a page may display showing recent projects. ClickContinue without code.In the next step, you will look for a menu named Troubleshooting to fix the plug-ins.or . If you do not see either of these menu choices, then the plug-ins have not been installed. See
- From the top menu, select:
- Visual Studio 2019 and 2022:
- Visual Studio 2017:
The samples screen will open. - On the left side, select ..
- In the center pane, selectVector Add:
- In the center area, selectVector Add. Vector Add is a simple test application that will help verify that the tools are setup correctly and can access your system's GPU.
- Click OK.
- From the Solution Explorer, right-click onvector-addand select .
- After the program is built, click. The results will display:
See
Explore SYCL* Through Samples to learn more.