Get Started

  • 2021.4
  • 09/27/2021
  • Public Content

Run a Sample Project with
Visual Studio*

Intel® oneAPI IoT Toolkit
If you are using
Visual Studio*
with FPGA see the Intel® oneAPI DPC++ FPGA Workflows on Third-Party IDEs.

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.
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.
  1. Open Microsoft Visual Studio*.
  2. For Visual Studio 2019, a page will display showing recent projects. Click
    Continue without code
    In the next step, you will look for a menu named
    . If you do not see either of these menu choices, then the plug-ins have not been installed. See Troubleshooting to fix the plug-ins.
  3. From the top menu, select:
    • Visual Studio 2019:
      Browse Intel oneAPI Samples
    • Visual Studio 2017:
      Browse Intel oneAPI Samples
    The samples screen will open.
  4. On the left side, select .
    oneAPI Tools
    Get Started
  5. In the center pane, select
    Vector Add
  6. In the center area, select
    Vector 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.
  7. Click OK.
  8. From the Solution Explorer, right-click on
    and select
  9. After the program is built, click
    Start Without Debugging
    . The results will display:

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at