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 many of the samples
- For GPU users, install GPU drivers
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:
- To use an Intel GPU, install the latest Intel GPU drivers.
- To use an AMD GPU (Linux only):
- Read the oneAPI for AMD GPUs Guide from Codeplay.
- Download oneAPI for AMD GPUs.
- To use an NVIDIA GPU (Linux and Windows):
- Read the oneAPI for NVIDIA® GPUs Guide from Codeplay.
- Download oneAPI for NVIDIA® GPUs.