bytedeco / bytedeco/sample-projects

Confusing example

Open
#66 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Java
Stars
228
Forks
173
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.