00000619
密码联系天数工程师
sftp -P 29880 iluvatar_mr@iftp.iluvatar.com.cn
get /client_tmp/support/kk/cuda_examples.tar.gz /home
cd /home
tar -zxvf cuda_examples.tar.gz
cd cuda
make CUDA_ARCH=ivcore11
(注:如果遇到'cmath' file not found报错,建议在容器下运行,是宿主机版本gcc太高或者太低导致)
CUDA_VISIBLE_DEVICES=1 ./atomicAdd
CUDA_VISIBLE_DEVICES=1 ./atomicMul
CUDA_VISIBLE_DEVICES=1 ./ceil
CUDA_VISIBLE_DEVICES=1 ./global
CUDA_VISIBLE_DEVICES=1 ./printf
CUDA_VISIBLE_DEVICES=1 ./saxpy