Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce profile命令请问是么 #7

Open
Vincent-syr opened this issue Mar 31, 2024 · 3 comments
Open

reduce profile命令请问是么 #7

Vincent-syr opened this issue Mar 31, 2024 · 3 comments

Comments

@Vincent-syr
Copy link

我也有在server上做profile,然后将数据download到windows本地,用Nsight System打开,可无法找到测量的结果。
命令:nsys profile --gpu-metrics-device=0 --stats=true ./a.out

因此我才用手算带宽利用率:bw = n_bytes / latency。 计算的结果与nsys出来的结果有挺大出入,请问可以解释下吗?

@cemamxiaoxixi
Copy link

cemamxiaoxixi commented Mar 31, 2024 via email

@BBuf
Copy link
Owner

BBuf commented Jun 30, 2024

我也有在server上做profile,然后将数据download到windows本地,用Nsight System打开,可无法找到测量的结果。 命令:nsys profile --gpu-metrics-device=0 --stats=true ./a.out

因此我才用手算带宽利用率:bw = n_bytes / latency。 计算的结果与nsys出来的结果有挺大出入,请问可以解释下吗?

请参考:https://github.com/BBuf/how-to-optim-algorithm-in-cuda/blob/master/cuda-mode/CUDA-MODE%20%E7%AC%AC%E4%B8%80%E8%AF%BE%E8%AF%BE%E5%90%8E%E5%AE%9E%E6%88%98%EF%BC%88%E4%B8%8A%EF%BC%89.md

@cemamxiaoxixi
Copy link

cemamxiaoxixi commented Jun 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants