Skip to content

maxcuda/NVTX_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# NVTX_example
How to call NVTX from Fortran:

https://devblogs.nvidia.com/customize-cuda-fortran-profiling-nvtx/

Updated code, it will work with PGI, XLF and Gfortran compilers.

If you are using nvprof from CUDA 10.x  and you are getting an error:
======== Error: incompatible CUDA driver version.

you will need to add "--openmp-profiling off" to the command line.

NVTX markers from Fortran  work with the new Nsight tools shipped in CUDA 10.1 Update 2.

To capture a trace run:
nsys profile -o outputfile ./a.out

To visualize the trace:
nsight-sys full_path_to_outputfile

About

How to call NVTX from Fortran

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published