Commit 47581d19 authored by wangkaixiong's avatar wangkaixiong 🚴🏼
Browse files

update

parent 325309aa
本工程已经实现 hip 转码,无需 hip 转码。 # FSL-components
---
- [fsl-eddy 编译](#fsl-eddy编译)
- [fsl-ptx2-cuda 编译](#fsl-ptx2-cuda编译)
---
### fsl-eddy编译
[回到文档开头](#) fsl编译:
快速开始: 快速开始:
```bash ```shell
git clone http://developer.sourcefind.cn/codes/tsoc/fsl-eddy.git git clone http://developer.sourcefind.cn/codes/tsoc/fsl-components.git
# 注意点:使用之前确保DTK没有激活 cuda 环境 # 注意点:使用之前确保DTK没有激活 cuda 环境
使用:fsl-eddy/FSL-install-config/config 覆盖真正的 FSL-install/config
#编译:cd fsl-eddy 使用:fsl-components/FSL-install-config/config 覆盖真正的 FSL-install/config
cd fsl-eddy
bash compile.sh bash compile.sh
``` ```
...@@ -75,3 +89,34 @@ __global__ void QR(// Input ...@@ -75,3 +89,34 @@ __global__ void QR(// Input
return; return;
} }
``` ```
### fsl-ptx2-cuda编译
快速开始:
```shell
git clone http://developer.sourcefind.cn/codes/tsoc/fsl-components.git
注意点:使用之前确保DTK没有激活 cuda 环境
FSL-install 代表之前的 FSL 安装目录
使用 fsl-components/FSL-install-config/config 覆盖真正的 FSL-install/config
使用 fsl-ptx2-cuda-11.0 替换 FSL-install/src 之中的 fsl-ptx2-cuda-11.0
cd FSL-install/src/fsl-ptx2-cuda-11.0
source /opt/dtk/cuda/env.sh
make cpu=1 gpu=1 -j$(nproc)
make install
即可得到适配DCU的 FSL-install/bin/probtrackx2_gpu11.8
测试之前, 激活 cuda 环境
source /opt/dtk/cuda/env.sh
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment