idoo
idoo

Reputation: 330

How to set breakpoints both in Host and Device code

I'm new to CUDA. I want to set breakpoints both in host code (C++) and device kernel code (CUDA code), but i only succeed to stop for debugging on host code OR device code(but not on both of them together.

I'm using VS2010 (win7) with Cuda 4.2 and Nsight 2.2. What do i do wrong ?

Upvotes: 1

Views: 216

Answers (1)

Robert Crovella
Robert Crovella

Reputation: 151899

It's not possible to simultaneously debug device and host code with Nsight VSE 2.2

Please refer to the answer given in this question. This question is a duplicate of that one.

As an additional reference, refer to the first note on this nsight VSE documentation page.

Upvotes: 2

Related Questions