Skip to content

IDE Nvidia’s Eclipse Nsight

Domenic Curro edited this page Feb 10, 2016 · 9 revisions

Nsight Eclipse Edition

Nsight Eclipse is a tool made by NVidia to assist in edditing, building, debugging Cuda applications. It is avaible on the NVidia developer site at: https://developer.nvidia.com/nsight-eclipse-edition

Creating a caffe Project

  1. Launch Nsight.
  2. Navigate to File -> New -> Makefile Project with Existing Code.
  3. Name your project caffe, or something of your choosing.
  4. Under existing code location, select the browse button.
  5. Navigate to your caffe directory.
  6. Select OK.
  7. Select Finish.
  8. Open the caffe Makefile.config and uncomment the debug line: DEBUG := 1.

Building caffe and tests

Building caffe

  1. Select the hammer icon in the top menu bar. It should work out of the box.

Building Tests

  1. In the Make Target Pane, right-click and select New...
  2. Name the target build_test.
  3. Clear the Make Target field.
  4. In the Build Command field enter make test -j <Number of cores that you have>

Running All Tests

  1. In the Make Target Pane, right-click and select New...
  2. Name the target run_all_tests.
  3. Clear the Make Target field.
  4. In the Build Command field enter make runtest