Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Standards Conformance

C/C++ Standards

The Intel® oneAPI DPC++/C++ Compiler conforms to the following C/C++ standards:

  • C++20 standard (ISO/IEC 14882:2020)
  • C++17 standard (ISO/IEC 14882:2017).
  • C++14 standard (ISO/IEC 14882:2014)
  • C++11 standard (ISO/IEC 14882:2011)
  • C++98 standard (ISO/IEC 14882:1998)
  • C17 standard (ISO/IEC 9899:2018)
  • C11 standard (ISO/IEC 9899:2011)
  • C99 standard (ISO/IEC 9899:1999)

C++17 and C17 are the default language standards for the compiler. Other versions can be selected by using the std command line option.

SYCL Standards

The Intel® oneAPI DPC++ Compiler supports the SYCL 2020 Specification and work is in progress towards SYCL 2020 conformance. The SYCL standard is based on the C++ standard and the Intel® oneAPI DPC++/C++ Compiler headers include some of the C++ standard headers. All of the current restrictions and limitations that apply to C/C++ standards, which relate to library headers, also apply to SYCL headers.

Refer to SYCL 2020 Support for the current status of compiler support for SYCL 2020 features.

OpenMP Standards

The Intel® oneAPI DPC++/C++ Compiler supports most of the OpenMP Application Programming Interface versions 5.0 and 5.1.

Refer to OpenMP Features for the current status of compiler support for OpenMP 5.0 and 5.1 features.

IEEE 754-2008 Standard for Floating-Point Formats

The Intel® IEEE 754-2008 Binary Floating-point Conformance Library conforms to the IEEE 754-2008 standard for binary32 and binary64 binary floating-point interchange formats.

Additional Language and Standards Information