Skip to content

Instantly share code, notes, and snippets.

@ZhijianChan
ZhijianChan / tmux-cheatsheet.markdown
Created October 25, 2018 02:09 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

@ZhijianChan
ZhijianChan / Readme.md
Last active September 3, 2018 11:35
Multi-GPU GEMM comparison between PyTorch & Cupy

Snippets for Multi-GPU GEMM with PyTorch & Cupy

Steps to visualize kernel execution details

  1. Generate .nvprof files
    nvprof -o pytorch.nvprof -f python3 test_pytorch.py
    nvprof -o pytorch_mp.nvprof -f python3 test_pytorch_mp.py
    nvprof -o cupy.nvprof -f python3 test_cupy.py
    nvprof -o cupy_mp.nvprof -f python3 test_cupy_mp.py