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/om/graph/window.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 / om / graph / window.om` 74 lines · 1402 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Selected native expert window. cfg tokens,rows,H,EI,mutant,scale. VAs xp,gu,act,actp,dn,xmap,ymap,sgu,sdn,xout,ptH,ptEI. Window offsets follow moe_windows. 3 fn mg_win c view ulong 16 v view ulong 16 w view ulong 8 d edit ulong 64 p ulong to ulong 4 a = new ulong 16 0 5 for i ulong 64 6 put d i 0 7 end 8 if ge p 6 9 put d 0 255 10 ret 1 11 end 12 put d 2 1 13 put d 3 1 14 put d 4 get c 1 15 if eq p 0 16 put d 0 46 17 put d 5 15 18 ret 1 19 end 20 if or eq p 2 eq p 5 21 put d 0 35 22 put d 7 get c 1 23 put d 8 get c 1 24 put d 10 get v 7 25 put d 11 add get v 0 get w 3 26 put d 12 add get v 1 get w 4 27 put d 13 get v 5 28 put d 14 get v 6 29 if eq p 5 30 put d 0 38 31 put d 15 1 32 put d 10 get v 8 33 put d 11 add get v 3 get w 5 34 put d 12 add get v 4 get w 6 35 put d 13 get v 6 36 end 37 ret 1 38 end 39 if eq p 3 40 put d 0 36 41 put d 1 3 42 put d 5 5 43 if eq get c 4 1 44 put d 1 20 45 end 46 put d 2 div get c 3 256 47 put d 3 get c 1 48 put d 4 mul get c 1 get c 3 49 put a 0 add get v 1 get w 4 50 put a 1 add get v 2 get w 5 51 put a 2 get c 5 52 ret gr_pack a d 2 53 end 54 put d 0 34 55 put d 1 11 56 put d 2 div add get c 2 255 256 57 put d 3 get c 0 58 put d 4 mul get c 0 get c 2 59 put a 0 add get v 9 get w 7 60 put d 5 6 61 put a 1 get v 10 62 put a 2 add get v 0 get w 3 63 if eq p 4 64 put d 0 37 65 put d 1 12 66 put d 2 div add get c 3 255 256 67 put d 3 get c 1 68 put d 4 mul get c 1 get c 3 69 put a 0 add get v 2 get w 5 70 put a 1 get v 11 71 put a 2 add get v 3 get w 5 72 end 73 ret gr_pack a d 4 74 end