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-launch-data.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-launch-data.om` 53 lines · 741 bytes Raw Blame History 1 note Host-only launch-data differential. The managed address reservations touch no GPU. 2 fn main to int 3 gbvec 4 if ne write 1 gbcode 0 get gblen 0 512 5 ret 80 6 end 7 for trial ulong 5 8 base = add `68719476736` mul trial `1073741824` 9 for i ulong 8 10 h = maphold add base mul i 65536 65536 11 if le h 0 12 ret 81 13 end 14 put gbmem i h 15 end 16 n = uint 1 17 if eq trial 1 18 n = uint 63 19 end 20 if eq trial 2 21 n = uint 64 22 end 23 if eq trial 3 24 n = uint 65 25 end 26 if eq trial 4 27 n = uint 4097 28 end 29 gbqmd n 30 put gbused 0 0 31 for i ulong 224 32 gbemit get gbcb i 33 end 34 for i ulong 96 35 gbemit get gbq0 i 36 end 37 for i ulong 96 38 gbemit get gbq1 i 39 end 40 for i ulong 7 41 gbemit get gbargs i 42 end 43 if ne write 1 gbcmd 0 get gbused 0 1692 44 ret 82 45 end 46 for i ulong 8 47 if ne mapdrop get gbmem i 0 48 ret 83 49 end 50 end 51 end 52 ret 0 53 end