Skip to content

Move callback wrappers to the Python layer #531

Closed

Description

@vzhurba01

Sounds like a good idea to

  • move the lifetime-related changes to another PR
  • ensure both driver/runtime Python layers have the lifetime management for callbacks
  • ensure both driver/runtime Cython layers have no lifetime management for callbacks (as if the CUDA C APIs are called from Cython, which was the intent AFAIK)

Originally posted by @leofang in #517 (comment)

Activity

  1. self-assigned this
    on Mar 24, 2025
  2. added
    enhancementAny code-related improvements
    P0High priority - Must do!
    cuda.bindingsEverything related to the cuda.bindings module
    on Mar 24, 2025
  3. added this to the cuda-python next milestone on Mar 24, 2025
  4. changed the title [-]Ah! I see, I overlooked the `streamAddCallbackCommon` function when checking the cudart code yesterday, thanks Vlad![/-] [+]Move callback wrappers to the Python layer[/+] on Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0High priority - Must do!cuda.bindingsEverything related to the cuda.bindings moduleenhancementAny code-related improvements

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions