Configure Your System
Install CMake* to Build Most Samples
Although the CMake is not required by the oneAPI tools and toolkits, many oneAPI samples are provided as CMake projects and require CMake to build them. You can find this information in the sample's README.md. This Get Started guide uses CMake for building samples.
Refer to CMake.org for installation instructions.
Refer to CMake.org for installation instructions.
To build oneAPI samples with CMake on Windows, make sure the Desktop Development with C++ workload is installed in Visual Studio. This workload includes CMake and the necessary tools and compilers. To install the workload, use 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 GPU Users, Download and Install GPU Drivers
- Download the Intel® Driver & Support Assistant (Intel® DSA) by following the link and clicking Download now. The Intel DSA tool will help you identify and install the correct driver for your system.
- Run the Intel® Driver & Support Assistant Application and follow the on-screen prompts to install the latest version of Intel Graphics - Windows 10 or 11 DCH Drivers.
- To troubleshoot any installation issues (or to manually install a driver without the use of the Intel DSA), see these step-by-step instructions on downloading and installing an Intel® Graphics Driver in Windows® 10 & Windows 11.
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, 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):