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/omega-mv/blob/main/gpu/nvidia/om/components/fixture.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / nvidia / om / components / fixture.om` 102 lines ยท 1656 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Host fixture ONLY: digest sentinels are synthetic, never an admission receipt. 3 fn compose_setid b edit uchar 4096 slot ulong h view uchar 32 to void 4 if lt slot 8 5 for j ulong 32 6 put b add add 512 mul slot 32 j get h j 7 end 8 end 9 end 10 fn compose_fixture b edit uchar 4096 l edit ulong 32 to uint 11 d = new ulong 48 0 12 q = new uchar 384 0 13 for j ulong 4096 14 put b j 0 15 end 16 for j ulong 32 17 put l j 0 18 end 19 put d 0 1 20 put d 1 2 21 put d 2 8 22 put d 4 1 23 put d 5 128 24 put d 6 128 25 put d 11 1 26 put d 13 1 27 put d 14 8 28 put d 15 1 29 put d 17 128 30 put d 18 256 31 put d 19 2 32 put d 24 3 33 put d 25 256 34 put d 26 4 35 put d 27 1 36 put d 30 32768 37 put d 31 4 38 put d 33 256 39 put d 34 8 40 put d 35 4 41 put d 36 32768 42 put d 37 8 43 put d 40 1 44 put d 41 256 45 rc = quant_write d q 46 if ne rc 0 47 ret rc 48 end 49 for j ulong 384 50 put b add j 768 get q j 51 end 52 compose_put b 0 1 53 compose_put b 1 1152 54 compose_put b 2 121 55 compose_put b 4 1 56 compose_put b 5 128 57 compose_put b 6 256 58 compose_put b 7 1 59 compose_put b 8 3 60 compose_put b 9 1 61 compose_put b 10 1 62 compose_put b 11 1 63 compose_put b 14 1 64 compose_put b 15 1 65 compose_put b 16 256 66 compose_put b 17 8 67 compose_put b 18 1 68 compose_put b 19 1 69 compose_put b 20 7 70 compose_put b 22 64 71 compose_put b 23 6 72 compose_put b 24 1 73 compose_put b 25 256 74 compose_put b 26 1 75 compose_put b 27 1 76 compose_put b 28 1 77 compose_put b 29 7 78 for k ulong 8 79 if ne k 2 80 compose_put b add k 30 add k 1 81 end 82 put b add 512 mul k 32 uchar add k 1 83 end 84 put l 0 1 85 put l 1 1 86 put l 2 1 87 put l 3 1 88 put l 4 256 89 put l 5 1 90 put l 6 1 91 put l 8 64 92 put l 9 6 93 put l 10 1 94 put l 11 896 95 put l 12 10 96 put l 13 1 97 put l 14 1 98 put l 15 1 99 put l 19 2 100 put l 23 3 101 ret compose_check b 1152 102 end