https://github.com/derekwin/gpu-rdma
https://github.com/derekwin/gpu-rdma
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/derekwin/gpu-rdma
- Owner: derekwin
- Created: 2024-05-07T05:57:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T04:58:45.000Z (about 2 years ago)
- Last Synced: 2025-01-19T05:44:24.910Z (over 1 year ago)
- Language: C
- Size: 372 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gpu-rdma
rdma example:
https://github.com/animeshtrivedi/rdma-example
## env
- 寒武纪使用clang编译
```
apt install clang
```
- 每个品牌的动态库要配置好到环境变量生效
```
# mlu
export LD_LIBRARY_PATH=/usr/local/neuware/lib64:$LD_LIBRARY_PATH
```
## cmake (host)
```
cmake -S . -B build
cmake --build build
```
## make (rocm, rocm_example, cuda, cuda_example)
```
cd src/cuda
make all
make clean
```
## clean
```
bash clean.sh
```
## run
```
./cuda_rdma_server
./cuda_rdma_client -a 192.168.2.253 -s textstring
```
```
./rocm_rdma_server
./rocm_rdma_client -a 192.168.2.245 -s textstring
```
```
./cnnl_rdma_server
./cnnl_rdma_client -a 192.168.2.249 -s textstring
```
# 海光的问题
`source /opt/dtk/env.sh`
`source /opt/dtk-23.10.1/env.sh`
dtk-22.10.1-vdcu