How does CUDA profiling work "under the hood"? -


can explain how profiler works. how measures time , instructions etc given executable. know how run profiler. wanted know background working.

i want develop profiler of own. need understand how existing profiler works.

i provided executable , need develop profiler profile executable.

you can start reading cupti documentation.

the cuda profiling tools interface (cupti) enables creation of profiling , tracing tools target cuda applications. cupti provides 4 apis: activity api, callback api, event api, , metric api. using these apis, can develop profiling tools give insight cpu , gpu behavior of cuda applications. cupti delivered dynamic library on platforms supported cuda.

and cupti metric api should read, , should aware of cuda version target, because of api different previous or next version.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -