Skip to content

ObjectCode fails to accept passing a filename #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
leofang opened this issue Feb 14, 2025 · 0 comments · Fixed by #435
Closed

ObjectCode fails to accept passing a filename #448

leofang opened this issue Feb 14, 2025 · 0 comments · Fixed by #435
Assignees
Labels
bug Something isn't working cuda.core Everything related to the cuda.core module P0 High priority - Must do!

Comments

@leofang
Copy link
Member

leofang commented Feb 14, 2025

From @benbarsdell:

passing a filename (str type) to cuda.core.experimental._module.ObjectCode is broken (with both old and new backends)

With the new backend it gives TypeError: cuLibraryLoadFromFile() takes exactly 7 positional arguments (1 given), and with the old it complains about passing str instead of bytes to the cuda driver api.

@leofang leofang added bug Something isn't working cuda.core Everything related to the cuda.core module P0 High priority - Must do! labels Feb 14, 2025
@leofang leofang added this to the cuda.core beta 3 milestone Feb 18, 2025
@leofang leofang self-assigned this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda.core Everything related to the cuda.core module P0 High priority - Must do!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant