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

Calling a host function in static_vector implementation of push_back #215

Open
guilhermeAlmeida1 opened this issue Jan 25, 2023 · 0 comments

Comments

@guilhermeAlmeida1
Copy link
Contributor

guilhermeAlmeida1 commented Jan 25, 2023

I tried using a static_vector in device code which unfortunately is not possible due to the call to memmove in push_back.

memmove(static_cast<void*>(id.m_ptr + 1),

warning #20011-D: calling a host function("memmove") from a host device function ("vecmem::static_vector::insert") is not allowed

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