user1172765
user1172765

Reputation: 21

CUDA computeprof not working with Multithreading

I'm trying to use CUDA Computeprof (CUDA profiler) to profile a multithreading application.

I've got two threads implemented with Qt, each one of them using a different CUDA context. I'm using the CUDA Driver API. The profiler application detects CUDA calls from the first (main) thread only and completely ignore the calls from the other thread.

Does anyone have a workaround or a reason for this?

Upvotes: 2

Views: 446

Answers (1)

brano
brano

Reputation: 2870

I usually use Nvidia Parallel Nsight to profile multithreaded applications. But i tested CUDA profiler on the MonteCarloMultiGPU SDK 3.2 example and it does indeed profile all CUDA context for the same session. I am using the CUDA profiler that came with CUDA 4.0.

Upvotes: 1

Related Questions