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/learn53/catalog-fixtures.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 / learn53 / catalog-fixtures.om` 95 lines · 957 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Literal output oracle only. No kexpect/keval calls construct expected values. 3 fn csize id ulong to ulong 4 if eq id 1 5 ret 136 6 end 7 if eq id 2 8 ret 160 9 end 10 if eq id 3 11 ret 232 12 end 13 if eq id 4 14 ret 116 15 end 16 if eq id 5 17 ret 128 18 end 19 if eq id 6 20 ret 164 21 end 22 if eq id 7 23 ret 144 24 end 25 if eq id 8 26 ret 156 27 end 28 ret 0 29 end 30 fn coutn id ulong to ulong 31 if eq id 1 32 ret 28 33 end 34 if eq id 2 35 ret 40 36 end 37 if eq id 3 38 ret 76 39 end 40 if and ge id 4 le id 6 41 ret 12 42 end 43 if eq id 7 44 ret 36 45 end 46 if eq id 8 47 ret 32 48 end 49 ret 0 50 end 51 fn cvalues id ulong to void 52 for i ulong 258 53 cw i `2779096485` 54 end 55 if eq id 1 56 cw 1 0 57 cw 3 11 58 cw 5 15 59 end 60 if eq id 2 61 for i ulong 8 62 cw add i 1 16 63 end 64 end 65 if eq id 3 66 for i ulong 17 67 cw add i 1 2 68 end 69 end 70 if eq id 4 71 cw 1 4 72 end 73 if eq id 5 74 cw 1 `4294967288` 75 end 76 if eq id 6 77 cw 1 `4294967279` 78 end 79 if eq id 7 80 cw 1 21 81 cw 2 24 82 cw 3 27 83 cw 5 47 84 cw 6 54 85 cw 7 61 86 end 87 if eq id 8 88 cw 1 22 89 cw 2 28 90 cw 3 49 91 cw 4 64 92 cw 5 76 93 cw 6 100 94 end 95 end