跳转至主要内容
英特尔标志 - 返回主页
我的工具

选择您的语言

  • Bahasa Indonesia
  • Deutsch
  • English
  • Español
  • Français
  • Português
  • Tiếng Việt
  • ไทย
  • 한국어
  • 日本語
  • 简体中文
  • 繁體中文
登录 以访问受限制的内容

使用 Intel.com 搜索

您可以使用几种方式轻松搜索整个 Intel.com 网站。

  • 品牌名称: 酷睿 i9
  • 文件号: 123456
  • Code Name: Emerald Rapids
  • 特殊操作符: “Ice Lake”、Ice AND Lake、Ice OR Lake、Ice*

快速链接

您也可以尝试使用以下快速链接查看最受欢迎搜索的结果。

  • 产品信息
  • 支持
  • 驱动程序和软件

最近搜索

登录 以访问受限制的内容

高级搜索

仅搜索

Sign in to access restricted content.

不建议本网站使用您正在使用的浏览器版本。
请考虑通过单击以下链接之一升级到最新版本的浏览器。

  • Safari
  • Chrome
  • Edge
  • Firefox

Get Intel® oneAPI DPC++/C++ Compiler

 

 

  • Overview
  • Download
  • Documentation & Resources
本网站采用 reCAPTCHA 提供保护。

Create performance-optimized application code that takes advantage of more cores and built-in technologies in platforms based on Intel® processors. The compilers are part of the Intel® oneAPI Base Toolkit and the Intel® oneAPI HPC Toolkit. The Intel® oneAPI DPC++/C++ Compiler does not support macOS.

For the most current functional and security features, update to the latest version as it becomes available.

The Intel oneAPI DPC++ Compiler is available from pip package manager as a runtime package only. if you require the full compiler, please select an Online or Offline version.

Set Up Your Environment

  1. Install Miniforge.
  2. Create and activate a new conda environment, replacing <your-env-name> with your preferred name for the environment:
     
    conda create -n <your-env-name>
    conda activate <your-env-name>
    

Install with conda

conda install -c https://software.repos.intel.com/python/conda/ -c conda-forge <package-name>


The following packages are available for installation:

  • For executing applications written in DPC++ or C++ after they are compiled:
    • dpcpp-cpp-rt includes the DPC++ and C++ runtime libraries
  • For compiling DPC++ and C++ applications:
    • dpcpp_win-64 includes the compiler itself
  • For executing SYCL-based applications, which are built using the DPC++ Compiler:
    • intel-sycl-rt provides the runtime support for SYCL

For the next steps, see the Get Started Guide.

Set Up Your Environment

Create and activate a virtual environment, replacing with your preferred name for the environment:
 

python3.10 -m venv <your-env-name>
source <your-env-name>/bin/activate

Install with pip

sudo pip install <package-name>


The following packages are available for installation:

  • For executing applications written in DPC++ or C++ after they are compiled:
    • dpcpp-cpp-rt includes the DPC++ and C++ runtime libraries
  • For executing SYCL-based applications, which are built using the DPC++ Compiler:
    • intel-sycl-rt provides the runtime support for SYCL

For the next steps, see the Get Started Guide.

   Prerequisites for First-Time Users

 

  1. To add APT repository access, install the prerequisites:
     
    
    sudo apt install -y gpg-agent wget
    
  2. Set up the repository. To do this, download the key to the system keyring:
     
    
    wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
    
  3. Add the signed entry to APT sources and configure the APT client to use the Intel repository:
     

    
    echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
    
  4. Update the packages list and repository index.

    
    sudo apt update
    

 

Install with APT

sudo apt install intel-oneapi-compiler-dpcpp-cpp


For the next steps, see the Get Started Guide.

Set Up Your Environment

  1. Install Miniforge.
  2. Create and activate a new conda environment, replacing <your-env-name> with your preferred name for the environment:
     
    conda create -n <your-env-name>
    conda activate <your-env-name>
    

Install with conda

conda install -c https://software.repos.intel.com/python/conda/ -c conda-forge <package-name>


The following packages are available for installation:

  • For executing applications written in DPC++ or C++ after they are compiled:
    • dpcpp-cpp-rt includes the DPC++ and C++ runtime libraries
  • For compiling DPC++ and C++ applications:
    • dpcpp_linux-64 includes the compiler itself
  • For executing SYCL-based applications, which are built using the DPC++ Compiler:
    • intel-sycl-rt provides the runtime support for SYCL

For the next steps, see the Get Started Guide.

   Prerequisite for First-Time Users

 

  1. Create the DNF repository file in the /temp directory as a normal user.
     

    
    tee > /tmp/oneAPI.repo << EOF
    [oneAPI]
    name=Intel® oneAPI repository
    baseurl=https://yum.repos.intel.com/oneapi
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
    EOF
    
  2. Move the newly created oneAPI.repo file to the YUM configuration directory.
     

    
    sudo mv /tmp/oneAPI.repo /etc/yum.repos.d
    

Install with DNF

sudo dnf install intel-oneapi-compiler-dpcpp-cpp


For the next steps, see the Get Started Guide.

Set Up Your Environment

Create and activate a virtual environment, replacing with your preferred name for the environment:

python3.10 -m venv <your-env-name>
source <your-env-name>/bin/activate

Install with pip

sudo pip install <package-name>


The following packages are available for installation:

  • For executing applications written in DPC++ or C++ after they are compiled:
    • dpcpp-cpp-rt includes the DPC++ and C++ runtime libraries
  • For executing SYCL-based applications, which are built using the DPC++ Compiler:
    • intel-sycl-rt provides the runtime support for SYCL

For the next steps, see the Get Started Guide.

Install with Spack

spack install intel-oneapi-compilers


For more information, refer to Spack documentation.

For the next steps, see the Get Started Guide.

  Prerequisites for First-Time Users

 ​​​​​​

  1. Create the YUM repository file in the /temp directory as a normal user.
     
    
    tee > /tmp/oneAPI.repo << EOF
    [oneAPI]
    name=Intel® oneAPI repository
    baseurl=https://yum.repos.intel.com/oneapi
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
    EOF
    
  2. Move the newly created oneAPI.repo file to the YUM configuration directory /etc/yum.repos.d:
     
    
    sudo mv /tmp/oneAPI.repo /etc/yum.repos.d
    

Install with YUM

sudo yum install intel-oneapi-compiler-dpcpp-cpp


For the next steps, see the Get Started Guide.

Prerequisites for First-Time Users

Add the Intel oneAPI repository public key using the following command:
 

sudo zypper addrepo https://yum.repos.intel.com/oneapi oneAPI

Install with Zypper

sudo zypper install intel-oneapi-compiler-dpcpp-cpp


For the next steps, see the Get Started Guide.

Size
Version
Date
SHA384

Service Currently Unavailable. Please Try Again Later
Continue as a Guest (download starts immediately) →
By downloading, you agree to our Privacy and Terms of use

Thank You

Your Download should start immediately.

Failed to submit your form.

Due to a technical difficulty, we were unable to submit the form. Please try again after a few minutes. We apologize for the inconvenience.

Windows* Installation Instructions

For more information, see the Get Started Guide.

Linux* Installation Instructions

For more information, see the Get Started Guide.

Additional Resources

System Requirements
Complete Installation Guide
Release Notes

  • 公司信息
  • 英特尔资本
  • 企业责任部
  • 投资者关系
  • 联系我们
  • 新闻发布室
  • 网站地图
  • 招贤纳士 (英文)
  • © 英特尔公司
  • 沪 ICP 备 18006294 号-1
  • 使用条款
  • *商标
  • Cookie
  • 隐私条款
  • 请勿分享我的个人信息 California Consumer Privacy Act (CCPA) Opt-Out Icon

英特尔技术可能需要支持的硬件、软件或服务激活。// 没有任何产品或组件能够做到绝对安全。// 您的成本和结果可能会有所不同。// 性能因用途、配置和其他因素而异。请访问 intel.cn/performanceindex 了解更多信息。// 请参阅我们的完整法律声明和免责声明。// 英特尔致力于尊重人权,并避免成为侵犯人权行为的同谋。请参阅英特尔的《全球人权原则》。英特尔产品和软件仅可用于不会导致或有助于任何国际公认的侵犯人权行为的应用。

英特尔页脚标志