Pass correct object to getCudaAccessPolicyWindow#48
Conversation
…ID passed to JNI when calling JCudaDriver.cuStreamSetAttribute with CU_STREAM_ATTRIBUTE_ACCESS_POLICY_WINDOW
|
Fixes #47 Thanks for the issue report and the PR. From just looking over the code, I suspect that the BTW: The whole "graph/node" API is certainly not tested extensively, and there are no guarantees that any of that works at all. (This was one of the latest features, I think it was introduced in CUDA 12, where they already went overboard with random, questionable API modifications. This is one of the reasons why I gave up trying to follow their releases. And... NVIDIA is a poor company, they cannot afford to pay someone like me 🤡 ). Specifically: I don't know whether the |
|
I'll check that next week when I'm back from holiday. |
|
You may have seen that there hardly is any "unit test" coverage. I usually tried to cover the most important features in https://github.com/jcuda/jcuda-samples, and regularly ran these samples after new releases. Given that JCuda is tracking another API (namely CUDA), and does so "blindly" with partially auto-generated code, "classical" unit tests didn't seem to make so much sense. |
Fixes Wrong field ID passed to JNI when calling JCudaDriver.cuStreamSetAttribute with CU_STREAM_ATTRIBUTE_ACCESS_POLICY_WINDOW