Skip to content

Use pre-allocated device memory for cuco hash tables #738

@xSke

Description

@xSke

I've been trying to use this library in a context of PyCUDA/CuPy/etc, where I can compile device kernels just fine, but there's no way to interact with the host-side C++ functions (at least without a large amount of glue code...).

Is there a way to set up a static map using some block of pre-allocated memory (either a global on the device or passed in as a pointer) and then have all the operations from there (including initialization of some kind) take place in a device kernel I can call from Python?

I figure there'd be limitations here (like not being able to grow that memory), but it seems like a fairly common use case I can't quite work out how to use...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions