Stuck with nsignt training video

Hi.

I downloaded nsight-training.

  1. The current Eclipse version differs from the one in the video - no major issue.
  2. Nature requires adaptations - also managed that one - step 1 finished!

Now I get this one here for step 2:

Error with command: ${cuda_tk_bin:/step_1}/cuda-gdb --version
Cannot run program "${cuda_tk_bin:/step_1}/cuda-gdb": Unknown reason

Replacing ${cuda_tk_bin:/step_1}/cuda-gdb with /usr/bin/cuda-gdb did the job.
Somehow, variable cuda_tk_bin was not set properly. I manually corrected that one as well.

… later (step 1) …

After manual fix in the Eclipse Debug Configuration section, .cuda-gdbinit wasn’t found … ;(
I found out that deleting .cuda-gdbinit did the job.
Why is not present in the filesystem or why is it entered in the Debug Configuration if not required?

… later (step 1) …

When gdb is run and hits main, I select Resume. gdb stops at the build-in bug. The left Eclipse Debug pane shows differently as in video, and the right Variables pane doesn’t show any variables at all, but this here:

Multiple errors reported.

1) Failed to execute MI command:
-var-create - * pResult
Error message from debugger back end:
-var-create: unable to create variable object

2) Unable to create variable object

3) Failed to execute MI command:
-data-evaluate-expression pResult
Error message from debugger back end:
No symbol "pResult" in current context.

4) Failed to execute MI command:
-var-create - * pResult
Error message from debugger back end:
-var-create: unable to create variable object

I’m under the impression that this tutorial was done from a heavily preconfigured Eclipse/CUDA IDE.

At the moment, I spent more time getting the devel environment ready rather than coding, optimizing, profiling … :)

Many thanks for any help.