Skip to content

Calling a host function in static_vector implementation of push_back  #215

Open
@guilhermeAlmeida1

Description

@guilhermeAlmeida1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions