-
Are there any examples or documents that would help me write a simple userspace program that interacts with this driver and does something useful, without relying on CUDA / OpenGL / GLX / X11? For example, given some machine code generated by the PTX compiler, could I load and run that code, and read the results back on the CPU? Could I do this for, say, the simple vector addition example from the PTX docs? (I realize there is no ABI guarantee with this driver, but I'm willing to target a particular driver version. I also realize that there is probably quite a lot of driver state to set up before doing something like this.) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @alexflint , |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry, we don't actually have any such documentation to share. It would be nice to have, but it really hasn't been a priority for us. I can share two toy examples that might get you started though.
Both of them have copies of the param structures which are not ABI stable, but in practice they have not changed over the past few years so you should be able to use them with any driver version. Hopefully this gets you started. If you have specific questions, I can answer them. And if someone feels like writing documentation, I'll gladly review. |
Beta Was this translation helpful? Give feedback.
Hi, sorry, we don't actually have any such documentation to share. It would be nice to have, but it really hasn't been a priority for us.
I can share two toy examples that might get you started though.
NVreg_RmMsg
as explained in #197Both of them have copies of the param structures which are not ABI stable, but in practice they have not changed over the past few y…