Could matlab use `nvprof` in cuda profiling?

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.

Respuestas (1)

Swatantra Mahato
Swatantra Mahato el 4 de Mayo de 2021

0 votos

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

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Etiquetas

Preguntada:

el 1 de Mayo de 2021

Respondida:

el 4 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by