Skip to content

Usage with cudaHostAlloc #107

@htngr

Description

@htngr

I'm trying to use this library on a Nvidia jetson nano. My goal is to go directly from v4l2 to the jetson's GPU without going through the CPU (zero-copy). There are official samples from nvidia which accomplishes this with a Userptr to GPU / shared memory (allocated via cudaHostAlloc). How can I use this crate for this purpose? I couldn't find a way to pass a pointer to the UserptrStream.
An alternative could be DMA but it seems to me that this isn't implemented yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions