Skip to content

lack of memory pool in ctypes cuda driver #43

Open

Description

@jonwright

Comparing to cupy, a loop over frames is worse on the driver because it is doing a realloc each time. cupy used a pool. There is a different cuda alloc/free option that is better for realloc too.

Activity

  1. jonwright commented on Nov 14, 2026

    @jonwright
    OwnerAuthor

    Fixed in #46 on recent cards. For older cards check if there is an out= arg in the conveyor pipeline (and that we have that on CPU, the old API was set up to be re-using memory by default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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