windows 中的 Nsight Systems 通过ssh 链接分析 Linux 中的cuda程序性能

通过ssh的方式使用 nsys-ui 没有成功过,还是要靠本机分析.

Linux 中的本机使用 nsys-ui 比较顺利,安装完 cuda sdk即可使用 nsys-ui.


1,Linux 环境

 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, Windows ssh Linux Nsight Systems


2.1安装对应版本的 cuda sdk
打开 Nsight Systems
Projet中选择 ssh,输入用户名和密码。
在Sample target Process中Commang line中输入程序的绝对路径


在working directory中输入目录


点击右侧的  Start
按钮即可

待截图

未完待续,

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值