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/runtime/checks.tsv # 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 / runtime / checks.tsv` 32 lines ยท 6196 bytes Raw Blame History 1 # NAME PARTS EXPECT MPART FIND REPLACE (read by gpu/runtime/gate.om; its header says what each field means) 2 inventory om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/inventory.om gpu/runtime/INVENTORY.tsv 4 if ne get iv_t add p mul j 2 sh_hexd uint shr b 4 if ne get iv_t add p mul j 2 sh_hexd uint shr b 3 3 scanref gpu/nvidia/om/apiviews/scan.om,gpu/runtime/scanref.om,gpu/runtime/check/scanref-check.om gpu/runtime/check/scanref.expect.txt 2 sr_rpass n hv mul p 4 sr_rpass n hv mul p 3 4 scanref-carry gpu/nvidia/om/apiviews/scan.om,gpu/runtime/scanref.om,gpu/runtime/check/scanref-check.om gpu/runtime/check/scanref.expect.txt 2 put sr_y e add c get sr_y e put sr_y e get sr_y e 5 cfacts om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 same = true same = false 6 cfacts-zero om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 if and eq nd 1 eq get cf_f s 48 if and eq nd 2 eq get cf_f s 48 7 cfacts-noposix om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 text cf_knp "OMEGA_GPU_NO_POSIX" text cf_knp "OMEGA_GPU_NO_POSIXQ" 8 cfacts-derived om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 if eq and get cf_dn i 7 1 if eq and get cf_dn i 7 3 9 cfacts-onepass om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 ret or ch ne get cf_n 45 0 ret false 10 cfacts-liveblock om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 put cf_dn id or get cf_dn id 2 put cf_dn id or get cf_dn id 0 11 cfacts-gendecl om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 put cf_n 44 1 put cf_n 44 0 12 cfacts-genprefix om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 text cf_kgenom "omega" text cf_kgenom "omega_" 13 cfacts-corecall om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/cfacts.om,gpu/runtime/check/cfacts-check.om gpu/runtime/check/cfacts.expect.txt 4 put cf_n 46 2 put cf_n 46 0 14 platrest om2,gpu/nvidia/om/platform-linux/plat_rest.om,gpu/runtime/check/platrest-check.om gpu/runtime/check/platrest.expect.txt 2 need = 7 need = 6 15 platrest-cursor om2,gpu/nvidia/om/platform-linux/plat_rest.om,gpu/runtime/check/platrest-check.om gpu/runtime/check/platrest.expect.txt 2 cursor = `268435456` cursor = `268435457` 16 platrest-signed om2,gpu/nvidia/om/platform-linux/plat_rest.om,gpu/runtime/check/platrest-check.om gpu/runtime/check/platrest.expect.txt 2 if ge get m 2 `9223372036854775808` if gt get m 2 `9223372036854775808` 17 apiplan om2,gpu/nvidia/om/components/api_mm_plan.om,gpu/nvidia/om/components/api_at_plan.om,gpu/nvidia/om/components/api_ew_plan.om,gpu/nvidia/om/components/api_bf_plan.om,gpu/nvidia/om/components/api_da_plan.om,gpu/nvidia/om/components/api_rt_plan.om,gpu/runtime/apiplan.om,gpu/runtime/check/apiplan-check.om gpu/runtime/check/apiplan.expect.txt 8 if le rc 3 if lt rc 3 18 apiplan-family om2,gpu/nvidia/om/components/api_mm_plan.om,gpu/nvidia/om/components/api_at_plan.om,gpu/nvidia/om/components/api_ew_plan.om,gpu/nvidia/om/components/api_bf_plan.om,gpu/nvidia/om/components/api_da_plan.om,gpu/nvidia/om/components/api_rt_plan.om,gpu/runtime/apiplan.om,gpu/runtime/check/apiplan-check.om gpu/runtime/check/apiplan.expect.txt 8 rc = api_bf_plan mode a rc = api_da_plan mode a 19 apiplan-mm om2,gpu/nvidia/om/components/api_mm_plan.om,gpu/nvidia/om/components/api_at_plan.om,gpu/nvidia/om/components/api_ew_plan.om,gpu/nvidia/om/components/api_bf_plan.om,gpu/nvidia/om/components/api_da_plan.om,gpu/nvidia/om/components/api_rt_plan.om,gpu/runtime/apiplan.om,gpu/runtime/check/apiplan-check.om gpu/runtime/check/apiplan.expect.txt 2 m = mul div add m 15 16 16 m = mul div add m 14 16 16 20 hostrest om2,gpu/nvidia/om/apiviews/hostrest.om,gpu/runtime/check/hostrest-check.om gpu/runtime/check/hostrest.expect.txt 2 if ge n 1000 if gt n 1000 21 hostrest-groups om2,gpu/nvidia/om/apiviews/hostrest.om,gpu/runtime/check/hostrest-check.om gpu/runtime/check/hostrest.expect.txt 2 n = div uint 48 groups n = div uint 47 groups 22 hostrest-depth om2,gpu/nvidia/om/apiviews/hostrest.om,gpu/runtime/check/hostrest-check.om gpu/runtime/check/hostrest.expect.txt 2 if gt k mul uint 512 warps if gt k mul uint 511 warps 23 platpolicy gpu/nvidia/om/platform-linux/plat_policy.om,gpu/runtime/check/platpolicy-check.om gpu/runtime/check/platpolicy.expect.txt 1 if eq c 9 if eq c 8 24 platpolicy-alloc gpu/nvidia/om/platform-linux/plat_policy.om,gpu/runtime/check/platpolicy-check.om gpu/runtime/check/platpolicy.expect.txt 1 put q 0 10 put q 0 11 25 platpolicy-xq gpu/nvidia/om/platform-linux/plat_policy.om,gpu/runtime/check/platpolicy-check.om gpu/runtime/check/platpolicy.expect.txt 1 if ge add i 1 nchan if gt add i 1 nchan 26 numeric gpu/nvidia/om/numeric/numeric.om,gpu/runtime/check/numeric-check.om gpu/runtime/check/numeric.expect.txt 1 ret narrow a 7 127 255 ret narrow a 7 127 254 27 numeric-rcp gpu/nvidia/om/numeric/numeric.om,gpu/runtime/check/numeric-check.om gpu/runtime/check/numeric.expect.txt 1 ret and sub `2129859008` a M32 ret and sub `2129859009` a M32 28 numeric-rni gpu/nvidia/om/numeric/numeric.om,gpu/runtime/check/numeric-check.om gpu/runtime/check/numeric.expect.txt 1 ret toint a 3 false ret toint a 2 false 29 nativeh om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/nativeh.om gpu/runtime/check/nativeh.expect.txt 4 if not and fr eq get nh_n 14 0 if not fr 30 nativeh-om2 om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/nativeh.om gpu/runtime/check/nativeh.expect.txt 4 if or rt tpre c0 c1 nh_kom2 if rt 31 nativeh-f32 om2,seed/ng/sha256.om,gpu/runtime/zsha.om,gpu/runtime/nativeh.om gpu/runtime/check/nativeh.expect.txt 4 text nh_kf32 "f32" text nh_kf32 "f64" 32 classes om2,gpu/runtime/classes.om gpu/runtime/CLASSES.tsv 2 ret 97 ret 98