Skip to content

derekwin/gpu-rdma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages