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

Confusing example #66

Open
henryco opened this issue Feb 27, 2023 · 1 comment
Open

Confusing example #66

henryco opened this issue Feb 27, 2023 · 1 comment

Comments

@henryco
Copy link

henryco commented Feb 27, 2023

cuda.cuModuleLoadData( module, new BytePointer(VECTOR_ADD_PTX) );

This example (line 52) is confusing because method cuModuleLoadData expects path to the .ptx file, not string with file itself which causes error 301 CUDA_ERROR_FILE_NOT_FOUND.
It took me a while to realize that it was a bug in the example and not in my code

@saudet
Copy link
Member

saudet commented Feb 27, 2023

Please open a pull request to fix this! Thanks

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

No branches or pull requests

2 participants