赞
踩
1.1 install cuda sdk
1.2 other settings:
安装 ssh-server
$ sudo apt install openssh-server
安装较新版本的 cuda sdk
下载cuda-samples github repo
build vectorAdd and running:
编辑修改 ssh 配置:
$ sudo vim /etc/ssh/sshd_config
删除相关注释,修改后如下:
Port 22
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
#PermitEmptyPasswords no
1.2 Linux test Nsight Systems
launch nsight systems:
set app vectorAdd and working directory:
click Start button Right area:
2.1安装对应版本的 cuda sdk
打开 Nsight Systems
Projet中选择 ssh,输入用户名和密码。
在Sample target Process中Commang line中输入程序的绝对路径
在working directory中输入目录
点击右侧的 Start
按钮即可
待截图
未完待续,
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。