sample-projects icon indicating copy to clipboard operation
sample-projects copied to clipboard

Confusing example

Open henryco opened this issue 1 year ago • 1 comments

https://github.com/bytedeco/sample-projects/blob/a9f14f5885cd99620d93704e32b088ffb10ff57d/cuda-vector-add-driverapi/src/main/java/VectorAddDrv.java#L52

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

henryco avatar Feb 27 '23 00:02 henryco

Please open a pull request to fix this! Thanks

saudet avatar Feb 27 '23 00:02 saudet