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