Multi-GPU profiling (Several CPUs , MPI/CUDA Hybrid)

前端 未结 4 977
日久生厌
日久生厌 2021-01-03 02:30

I had a quick look on the forums and I don\'t think this question has been asked already.

I am currently working with an MPI/CUDA hybrid code, made by somebody else

4条回答
  •  旧时难觅i
    2021-01-03 03:25

    Things have changed since CUDA 5.0 and now we can simply use %h, %p and %q{ENV} as mentioned here instead of using a wrapper script:

    $ mpirun -np 2 -host c0-0,c0-1 nvprof -o output.%h.%p.%q{OMPI_COMM_WORLD_RANK} ./my_mpi_app
    

提交回复
热议问题