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

Allow non device type template parameter for output views in BVH::query() #271

Merged
merged 15 commits into from
Apr 20, 2020

Conversation

dalg24
Copy link
Contributor

@dalg24 dalg24 commented Apr 17, 2020

Fix #270

This will produce an example of bad error message as requested in #269 (comment)

@aprokop
Copy link
Contributor

aprokop commented Apr 17, 2020

Yeah, I thought a way to fix this would be through templating on view types. The unfortunate side effect of this is that the view signatures are no longer easily distinguished (for example, value types).

@dalg24
Copy link
Contributor Author

dalg24 commented Apr 17, 2020

Well I was not necessarily planning on opening that PR yet because I am necessarily convinced whether I want to keep the Details::BoundingingVolumeHierarchyImpl:: namespace and what is the better way to template for the bvh and output views arguments in the queryDispatch() but I might as well push the current workaround I have

@dalg24 dalg24 marked this pull request as ready for review April 17, 2020 11:40
Copy link
Contributor

@aprokop aprokop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs tests.

examples/access_traits/example_cuda_access_traits.cpp Outdated Show resolved Hide resolved
src/details/ArborX_DetailsBoundingVolumeHierarchyImpl.hpp Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

Output views in BVH::query() should not be required to be templated on device type
3 participants