Skip to content

Commit

Permalink
add cmake argument for ROCM DCU environment (#6034)
Browse files Browse the repository at this point in the history
  • Loading branch information
HydrogenSulfate authored Jul 20, 2023
1 parent b15f01a commit c6708c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guides/hardware_support/rocm_docs/paddle_install_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- 通过预编译的 wheel 包安装
- 通过源代码编译安装

**说明**:基于对应 DTK 版本的飞桨 wheel 包可在[光合开发者社区 ](https://developer.hpccube.com/tool/#sdk) AI 生态包中进行下载。
**说明**:基于对应 DTK 版本的飞桨 wheel 包可在[光合开发者社区](https://developer.hpccube.com/tool/#sdk) AI 生态包中进行下载。

## 安装方式一:通过 wheel 包安装

Expand Down Expand Up @@ -116,8 +116,8 @@ cd Paddle
mkdir build && cd build

# 执行 cmake
cmake .. -DPY_VERSION=3.7 -DWITH_ROCM=ON -DWITH_TESTING=ON -DWITH_DISTRIBUTE=ON \
-DWITH_MKL=ON -DCMAKE_BUILD_TYPE=Release
cmake .. -DPY_VERSION=3.7 -DWITH_GPU=OFF -DWITH_ROCM=ON -DWITH_TESTING=ON -DWITH_DISTRIBUTE=ON \
-DWITH_MKL=ON -DCMAKE_BUILD_TYPE=Release

# 使用以下命令来编译
make -j$(nproc)
Expand Down

0 comments on commit c6708c5

Please sign in to comment.