Configure Your System
- CPU, GPU and FPGA users, install CMake* to build most samples
- For GPU users, install GPU drivers
Install CMake* to Build Most Samples
The next section applies if you plan to use Microsoft Visual Studio* for cross-platform development. 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.
Refer to CMake.org for installation instructions. For a list of components that support CMake, see Use CMake with oneAPI Applications.
To build oneAPI samples with CMake on Windows using Microsoft Visual Studio*, ensure 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 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):
Next Step
Run a sample project using one of these methods: