Get Started

  • 0.09
  • 09/09/2020
  • Public Content

Configure
Visual Studio*

Intel® oneAPI HPC Toolkit
The
Intel® oneAPI Base Toolkit
is required if you want to run the samples in the
Intel® oneAPI HPC Toolkit
. If you have not installed the
Intel® oneAPI Base Toolkit
please return to the Installation Guide and install the Toolkit.
To set up your system, you need to:

Install CMake* to Build Samples

Although
CMake is
not required by the oneAPI tools and toolkits, many oneAPI samples are provided as CMake projects and require CMake to build them.
For Microsoft Windows*, the Visual Studio* C++ Development tools must be installed, including the CMake tools in the Desktop development with C++ workload. Installing the Linux Development with C++ workload will not provide the necessary tools to run all samples. Use the links below to install Visual Studio and CMake.
If you already installed an
Intel® oneAPI
toolkit before installing Visual Studio, the oneAPI plug-ins for Visual Studio will be absent. If this happens, install Visual Studio and CMake using the links below. Then refer to the Troubleshooting section for instructions on how to fix the plug-ins.
Visual C++ Tools for CMake is installed by default as part of the
Desktop Development with C++ workload
.
For more information about CMake, refer to CMake.org.

For GPU Users, Install GPU Drivers

  1. To download the driver, go to Intel Download Center.
  2. Click Graphics Drivers
  3. Click Intel® Graphics - Windows® 10 DCH Drivers.
  4. Download the latest version of the driver.
  5. Run the installer.

For Visual Studio Code Users, Install the Sample Browser Extension

You can browse and download samples in Visual Studio Code using the Sample Browser extension:
  1. From Visual Studio Code, click on the Extensions logo in the left navigation.
  2. Locate the extension titled
    Sample Browser for Intel oneAPI Toolkits
    , or visit https://marketplace.visualstudio.com/publishers/intel-corporation to browse available extensions.
  3. Click
    Install
    .
  4. After the extension installs, close VS Code. The directions in the Build and Run a Sample section will show you how to launch VS Code so that the environment variable are set correctly.

Run a Sample Project

Run a sample project
using one of these methods
:

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804