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

Attempt to vend vec_2d code to cuproj and use in cuprojshim #2

Conversation

isVoid
Copy link

@isVoid isVoid commented Jul 17, 2023

  • Add streams to allocate_like call
  • Vended vec_2d from cuspatial
  • restructure cuproj folder structures and update cuproj cython bindings accordingly

As title.

I went down the vending code route for a little bit and still run into blockers. There is device code in vec_2d class that's used in cuproj library, so we need to vend the device code as well. This makes vec_2d not completely a host only library and makes whichever interface that we want to expose in cuprojshim not host-only code either. And whichever cython interface that contains device code will throw the build system off.
We need to think of a way to hide away the device code for vec_2d or move the device code of vec_2d to outside of the class (as standalone functions, albeit it might be slower to compile due to ADL)

@harrism harrism merged commit a12533d into harrism:feature/projection/python-bindings-cuprojshim Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants