Multi-Target
The multi-target feature enables debugging of multiple targets in a single debugging session.
With this feature, you can define breakpoints inside and outside the kernel to debug the host portion of the program. For example, define two breakpoints and run the target as follows:
Now you are inside the kernel (in this case, the kernel is running on the GPU). The context is Thread 2.129, lane 0.
Disable the breakpoint at line 54 and continue:
Try executing print input and print output as follows:
This time the stop event is received from the host. The context is automatically switched to Thread 1.1. You can investigate the host-side values as shown above.