interplane.Get Omega
Read in your language

omega-helix

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

omega-helix / native / gpu / mpool.om

20 lines · 581 bytes Raw Blame History
1note SPDX-License-Identifier: AGPL-3.0-only
2note native/gpu/mpool.om: static bank-B stub for macos-metal (@ng a64 macho).
3note Keeps total static globals well under the Mach-O 1 GiB limit while models up to
4note the metal_io.om cold-store cap (P <= 8388608, 3*P <= OCSN) run natively in Bank A.
5const OWWN ulong 1
6global oww f64 1
7const OGBN ulong 1
8global ogb f64 1
9const OABN ulong 1
10global oab f64 1
11const OPABN ulong 1
12global opab f64 1
13
14fn olp_grow w ulong g ulong a ulong to bool
15ret and le w OWWN and le g OGBN le a OABN
16end
17
18fn olp_grow_pa pa ulong to bool
19ret eq pa 0
20end