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/CUDApp/blob/main/tests/speculation/native-device-test.om # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. 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 `CUDApp / tests / speculation / native-device-test.om` 27 lines · 579 bytes Raw Blame History 1 note Physical device context acceptance. No kernels, timings or model execution. 2 text ok "NATIVE_DEVICE_CONTEXT_PASS\n" 3 text bad "NATIVE_DEVICE_CONTEXT_FAIL\n" 4 global result uchar 24 5 fn pack off ulong v long to void 6 for i ulong 8 7 put result add off i uchar and shr v mul i 8 255 8 end 9 end 10 fn main to int 11 for attempt ulong 3 12 good = nvstart 13 stage = get nvstage 0 14 error = get nverr 0 15 closed = nvstop 16 if not and good closed 17 r = write 2 bad 0 len bad 18 pack 0 long stage 19 pack 8 error 20 pack 16 long get nvsm 0 21 r = write 1 result 0 len result 22 ret 1 23 end 24 end 25 r = write 1 ok 0 len ok 26 ret 0 27 end