Get Started with the Intel® oneAPI HPC Toolkit for Windows*

ID 766889
Date 10/31/2024
Public

Configure Visual Studio*

Intel® oneAPI HPC Toolkit

The Intel® oneAPI Base Toolkit (Base Kit) is required if you want to run the samples in the Intel® HPC Toolkit. If you have not installed the Base Kit please return to the Installation Guide and install the Toolkit.

To set up your system, you need to:

Install CMake* to Build Samples (optional)

This optional section only applies if you plan to use Microsoft Visual Studio for cross-platform development. Many of the samples require CMake in such a development environment.

CMake is not required to use the oneAPI tools and toolkits. Most of the oneAPI samples that can be built and run on Microsoft Windows* include a Visual Studio project file to manage the build process.

To build those samples on Windows that require CMake and do not include a Visual Studio project file, you may need to add some additional Visual Studio workloads as part of your Visual Studio installation.

The Visual Studio CMake tools for Windows are part of the Desktop development with C+ workload and the Linux Development with C+ workload. Both of these Visual Studio workloads are required for cross-platform CMake development on Windows. To install these workloads, see the following links:

If you installed an Intel® oneAPI toolkit before installing Visual Studio, the oneAPI plug-ins for Visual Studio may be absent. In this case, install Visual Studio and then refer to the Troubleshooting section of this documentation for instructions on how to fix or add the missing oneAPI plug-ins for Visual Studio.

For more information about CMake, refer to CMake.org.

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.

GPU Drivers or Plug-ins (Optional)

You can develop oneAPI applications using C++ and SYCL* that run on Intel, AMD*, or NVIDIA* GPUs.

To develop and run applications for specific GPUs, you must first install the corresponding drivers or plug-ins:

Run a Sample Project

Run a sample project using one of these methods: