通过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
按钮即可

待截图

未完待续,

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐