Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and Run on Linux with Nsight Eclipse Edition #25

Open
shehzan10 opened this issue Aug 31, 2019 · 0 comments
Open

Build and Run on Linux with Nsight Eclipse Edition #25

shehzan10 opened this issue Aug 31, 2019 · 0 comments

Comments

@shehzan10
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant