Skip to content
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

ObjectCode fails to accept passing a filename #448

Open
leofang opened this issue Feb 14, 2025 · 0 comments
Open

ObjectCode fails to accept passing a filename #448

leofang opened this issue Feb 14, 2025 · 0 comments
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
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

No branches or pull requests

1 participant