Could matlab use `nvprof` in cuda profiling?

조회 수: 3 (최근 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 CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by