sample-projects
sample-projects copied to clipboard
Confusing example
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
Please open a pull request to fix this! Thanks