Intel® oneAPI DPC++/C++ Compiler
A Standards-Based, Cross-architecture Compiler
Discontinuation Notice
Intel® Developer Cloud for oneAPI will be discontinued effective October 31, 2024. This includes all features and services associated with the platform.
Future-Ready Programming Model Provides Freedom of Choice
What You Can Do
- Compile ISO C, C++, and SYCL* (from the Khronos* Group)
- Reuse code across hardware targets, including CPUs, GPUs, and FPGAs.
- Avoid proprietary lock-in with a cross-industry, open, standards-based unified programming model.
Realize All the Hardware Value
- Get great performance from industry-leading Intel® compiler technology.
- Generate optimized binary host code and accelerator code.
- Use optimized Intel oneAPI performance and threading libraries.
Confidently Develop Performant Code Quickly and Correctly
- Integrate seamlessly with popular third-party compilers, development environments, and operating systems.
- Use the latest standards including C 23, C++ 23, SYCL 2020, and OpenMP* 5.0, 5.1, and 5.2 for CPU and GPU offload, and select OpenMP TR12.†
- Use LLVM* sanitizers to catch bugs and issues early in the development cycle, making C, C++, SYCL, OpenMP code more reliable, secure, and easier to maintain.
Develop on a Variety of GPUs
Develop and run applications on Intel GPUs or use plug-ins from Codeplay* to develop on AMD* or NVIDIA* GPUs.
Download as Part of a Toolkit
Help the Intel oneAPI DPC++/C++ Compiler Evolve
This compiler is part of the open oneAPI industry standards initiative. You are welcome to participate.
Download the Stand-Alone Version
A stand-alone download of the Intel® oneAPI DPC++/C++ Compiler is available. You can download binaries from Intel or choose your preferred repository.
Features
Cross-architecture Compiling
- Development Productivity: Targets CPUs and accelerators through single-source code while permitting custom tuning
- Language Standards Support: Is built to the latest standards, including C++ 17, C++ 20, and SYCL 2020, and partial support for C++ 23, to ensure portability and support of features like generic lambda expressions and variable templates: SYCL Graph, Bindless Texture, Vulkan, and Microsoft DirectX* interoperability
- Industry Standards Support: Supports the latest standards, including OpenMP 4.5, 5.0, 5.1, and 5.2 for CPU and GPU offload, and select new features of OpenMP TR12
- Trusted Technology: Uses well-proven LLVM compiler technology as well as Intel's history of compiler leadership
FPGA Emulation and Compilation
- Enables experienced FPGA developers to target accelerations workloads to field-programmable platforms
- Is included with the compiler
Note Full FPGA programming requires the optional FPGA Support Package for the Intel® oneAPI DPC++ / C++ Compiler.
Get Started
Download
Get Intel oneAPI DPC++/C++ Compiler as a stand-alone tool or as part of an Intel® toolkit.
Get Intel oneAPI DPC++/C++ Compiler Only
Try It Out
Get started with Intel oneAPI DPC++/C++ Compiler and use an introductory code sample to see how it works.
Learn More
Use these learning tools to help you implement and optimize application code for modern computer architectures.
Benchmarks
- Part 1: Intel Compilers Boost C++ Application Performance on Linux*
- Part 2: Intel Compilers Boost C++ Application Performance on Linux
- Part 3: Intel® Compilers Boost C++ Application Performance on Linux
- Part 1: Intel Compilers Boost C++ Application Performance on Windows*
- Part 2: Intel Compilers Boost C++ Application Performance on Windows
- Intel Compilers Perform on C++ Embedded Applications
Part 1: Intel Compilers Boost C++ Application Performance on Linux
Part 2: Intel Compilers Boost C++ Application Performance on Linux
Part 3: Intel Compilers Boost C++ Application Performance on Linux
Part 1: Intel Compilers Boost C++ Application Performance on Windows* Server
Part 2: Intel Compilers Boost C++ Application Performance on Windows Server
Intel Compilers Perform on C++ Embedded Applications
News & Case Studies
Tencent Gains Up to 85% Performance Boost for MySQL
"TencentDB for MySQL is designed to provide customers with secure, reliable, high-performance, and easy-to-maintain enterprise-level cloud database services. And Intel oneAPI DPC++/C++ Compiler can bring Tencent another avenue to get better MySQL performance."
— Ben Cheng, TencentDB
Alibaba Cloud* E-HPC-DP: A Winning E-HPC Cloud Collaboration
E-HPC provides individual users, education and research institutions, and public institutions with a fast, elastic, and secure cloud compute platform. With the Intel toolkit, E-HPC can help customers build a high-performance, profiling computing platform on Intel® Xeon® Scalable processors.
Accelerating XtalPi's Drug Discovery Application
"Crystal structure prediction (CSP) is becoming a standard procedure in drug R&D. By utilizing Intel toolkits (Intel oneAPI DPC++/C++ Compiler, Intel® oneAPI Math Kernel Library, Intel® Integrated Performance Primitives, and Intel® VTune™ Profiler) and employing techniques such as instruction set optimization and function substitution, we have significantly improved the performance of crystal structure comparison tool. This enhancement accelerates the drug R&D process for our customers, providing faster execution and numerous benefits. Additionally, it allows us to better exploit the hardware’s potential, resulting in increased return on investment for the R&D project."
— Xiaolu Lin, XtalPi
"Codee is a world-first solution providing a systematic, predictable approach to enforce C, C++, and Fortran performance optimization best practices for CPUs and GPUs. Notably, it is the perfect complement to the best-in-class Intel oneAPI DPC++/C++ Compilers and runtimes."
— Manuel Arenaz, founder, CEO and CTO, Codee
Reviews & Testimonials
"SYCL 2020 enables productive heterogeneous computing today, providing the necessary controls to write high-performance parallel software for the complex reality of today’s software and hardware. Intel's commitment to supporting open standards is again showcased as they become a SYCL 2020 Khronos* Adopter. Intel's conformant implementation of SYCL 2020 gives software developers the assurance they need that their code will be portable. Not only this, but Intel's support for open standards has helped build a vibrant ecosystem of tools, libraries, and support for SYCL 2020 on CPUs, GPUs, and FPGAs."
— Dr. Tom Deakin, chair of the SYCL Working Group for Khronos, and lecturer (assistant professor) in Advanced Computer Systems, University of Bristol
"Our team is highly satisfied with how one API has streamlined the porting and optimization of our data-parallel computing and simulation software for pharmaceutical research to multiple targets. Given our positive experience within the Intel ecosystem, we are eager to see SYCL gain wide acceptance in a multi-vendor context."
– Professor Andreas Koch, Technische Universität Darmstadt
"We appreciate the combination of full support of SYCL with the fact that all is built upon the LLVM software stack. Probably the most important feature for us is the fact that the compiler allows us to seamlessly switch from SYCL to OpenMP and back, so we can compare GPU offloading paradigms, techniques, and their efficiency."
– Professor Tobias Weinzierl, Durham University
"The motto of GROMACS is 'Fast, Flexible, Free'—values that align with those of the SYCL standard. Starting in 2020, GROMACS began to utilize SYCL as a performance-portability back end, leveraging select features of SYCL 2020 even before its official standardization. Compared to its predecessor, SYCL 1.2, the SYCL 2020 standard introduces several new features that are instrumental in enhancing both application performance and developer productivity. The achievement of Intel oneAPI DPC++/C++ Compiler in attaining certification as the first fully conformant SYCL 2020 toolchain marks a significant milestone for the widespread adoption of open standards in heterogeneous parallelization within high-performance computing."
– Andrey Alekseenko, lead researcher, KTH Royal Institute of Technology
Specifications
Intel oneAPI DPC++/C++ Compiler
Processors:
- Intel® Xeon® Scalable processors
- Intel Xeon processors
- Intel® Core™ Ultra processors
- Intel Core processors
- Intel Atom® processors
GPUs:
- Intel® UHD Graphics for 11th generation Intel processors or newer
- Intel® Iris Xᵉ graphics or newer
- Intel® Arc™ graphics
- Intel® Data Center GPU Flex Series
- Intel® Data Center GPU Max Series
- NVIDIA or AMD GPUs using plug-ins from Codeplay*
For more information, see the system requirements.
Development environments:
- Microsoft Visual Studio*, Microsoft Visual Studio Code
- Eclipse* IDE
Threading:
- Intel® oneAPI Threading Building Blocks
- OpenMP 4.5, 5.0, 5.1, 5.2, TR12, and extensions
- Native threads
Get Help
Your success is our success. Access these support resources when you need assistance.
Related Products
Intel® Fortran Compiler
Build high-performance applications by generating optimized code for Intel Xeon Scalable processors, Intel Core processors, and supported GPUs and other accelerators. This allows you to:
- Boost Single Instruction Multiple Data (SIMD) vectorization and threading capabilities (including for Intel® Advanced Vector Extensions 512 instructions) using the latest OpenMP parallel programming model
- Take advantage of more cores and increased vector register width available in Intel Xeon processors
- Comply with open standards such as Fortran, OpenMP, and OpenMP offload to GPU
- Work with a familiar set of tools on your preferred platform: Windows and Linux
Stay In the Know on All Things CODE
Sign up to receive the latest tech articles, tutorials, dev tools, training opportunities, product updates, and more, hand-curated to help you optimize your code, no matter where you are in your developer journey. Take a chance and subscribe. You can change your mind at any time.