Skip to content

从derekwin项目fork过来的,准备修改寒武纪部分,并看看海光、英伟达rdma能不能使用

Notifications You must be signed in to change notification settings

Firefly-Dance/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

从derekwin项目fork过来的,准备修改寒武纪部分,并看看海光、英伟达rdma能不能使用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.3%
  • Makefile 11.1%
  • Other 0.6%