Skip to content

Build and Run on Linux with Nsight Eclipse Edition #25

Description

@shehzan10

Here are the steps:

  1. Create a directory called eclipse under Project0-Getting-Started. eclipse should be a sibling directory to cuda-getting-started. (The name eclipse itself is not important, but that's the example I'm going to use)
  2. CD into the eclipse directory, then run the command
    cmake ../cuda-getting-started -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug
    
    • Note: Change Debug to Release when running the profiler.
  3. Open Nsight Eclipse Edition
  4. Select File -> Import.
  5. Then in the pop up box, select `General -> Existing Project into Workspace".
  6. In Select Root Directory browse to the eclipse directory.
  7. This will populate the box below with cis565_getting_started......
  8. Select this and click "Finish".

Now you can carry on running the executable and other profiler and debug steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions