Could matlab use `nvprof` in cuda profiling?

6 ビュー (過去 30 日間)
wei zhang
wei zhang 2021 年 5 月 1 日
回答済み: Swatantra Mahato 2021 年 5 月 4 日
I am using cudamex. I need to profile the time consuming. Is there any sample called "nvprof" with a ".m" file? Or could I use it with matlab?
I found the "nvprof.exe" in cuda path. But I don't know how to call it in matlab command.

回答 (1 件)

Swatantra Mahato
Swatantra Mahato 2021 年 5 月 4 日
Hi,
I am assuming you want to profile the CUDA code generated in MATLAB. You can refer the link below for an example on how to profile the generated code using the "gpucoder.profile" function which makes use of "nvprof" tool from NVIDIA
Hope this helps

カテゴリ

Help Center および File ExchangeGPU Computing についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by