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

Convert code base to work with CUDA #45

Open
nLevin13 opened this issue Mar 8, 2021 · 1 comment
Open

Convert code base to work with CUDA #45

nLevin13 opened this issue Mar 8, 2021 · 1 comment
Assignees

Comments

@nLevin13
Copy link
Member

nLevin13 commented Mar 8, 2021

https://docs.opencv.org/3.4/d1/d1a/namespacecv_1_1cuda.html

@nLevin13
Copy link
Member Author

nLevin13 commented Apr 4, 2021

Use cuPy, runs numpy on cuda; very slow, unusable results

  • parallelizing Cython code (am currently facing issues with GIL, will try to convert code to pure C arrays to avoid the issue)
  • Convert repetitive code to for loops for easier parallelization
  • Convert pythonic code to static typed numpy arrays for better C performance
  • Profile current code to find other areas for performance improvement.

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

2 participants