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

how to debug cuda code #4

Closed
AceCoooool opened this issue Apr 19, 2018 · 3 comments
Closed

how to debug cuda code #4

AceCoooool opened this issue Apr 19, 2018 · 3 comments

Comments

@AceCoooool
Copy link

hi, @goldsborough , Is there a good way to debug .cu code ?
From your great tutorial, I write a extension of ROI Align&ROI Pool. The cpp code is pretty easy to debug (just as the pure c++ code), however, i find it "troublesome" to debug of the cuda code (run python setup.py install again and again), and nvcc will raise error about cannot find ATen library.

Would you have any advice for debug cuda code?

Thank you !
(I find there are little discussions about c++ extension in Forums, so i pull an issue here. )

@goldsborough
Copy link
Contributor

Hi, can you post the error you received here? Maybe I can help. Can you also fill out the issue template you were presented with? Thanks!

@AceCoooool
Copy link
Author

Thanks for response, I did not find error yet. ~ I just curious about how to debug cuda code efficiently (Maybe it's inappropriate to discuss this topic here). I will close this issue. However, if anyone have good advice, can share it~ 😄

@Txusheng
Copy link

Thanks for response, I did not find error yet. ~ I just curious about how to debug cuda code efficiently (Maybe it's inappropriate to discuss this topic here). I will close this issue. However, if anyone have good advice, can share it~ 😄

Hi, do you find an efficient way to debug cuda code now?

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

3 participants