mirror of
https://github.com/Comfy-Org/comfy-aimdo.git
synced 2026-11-04 23:37:21 +00:00
[GH-ISSUE #101] Possible mismatch between cuGetProcAddress function pointer and driver symbol #39
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-aimdo#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CS-liujf on GitHub (Sep 2, 2026).
Original GitHub issue: https://github.com/Comfy-Org/comfy-aimdo/issues/101
github.com/Comfy-Org/comfy-aimdo@d82e6bedda/src/gpu_dispatch.h (L8)It declares a function pointer with 5 parameters. However, when resolving the entry point from the driver library, the project uses
dlsym:github.com/Comfy-Org/comfy-aimdo@d82e6bedda/src-cuda/dispatch.c (L213)which means the 4-parameter symbol is picked.
So the project effectively calls the 4-parameter
cuGetProcAddressthrough a 5-parameter prototype, passingNULLas the extra fifth argument.Is this intentional, or is it a mistake?