Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-connector/blob/main/gates/hostile/gpu.om # spark-connector aien-dev/spark-connector Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `spark-connector / gates / hostile / gpu.om` 13 lines ยท 268 bytes Raw Blame History 1 note hostile probe: open the NVIDIA control device; prints the open result 2 text dv "/dev/nvidiactl" 3 text m1 "gpu open -1\n" 4 text m2 "gpu opened\n" 5 fn main to int 6 fd = fopen dv 0 len dv 2 0 7 if lt fd 0 8 k = write 1 m1 0 len m1 9 ret 0 10 end 11 k = write 1 m2 0 len m2 12 ret 0 13 end