interplane.Get Omega
Read in your language

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

GitHub aien-dev/omega-mv#237 (code only)

closed derived fcae983a2cb4896f #237

Imported from GitHub aien-dev/omega-mv#237 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 0eec4313277a0cd73601c665067dd40270b98649 · Head 292c2e109cb6601c78ca889348192dfb9e15e410

Apply it

git checkout -b patch-fcae983a2cb4896f 0eec4313277a0cd73601c665067dd40270b98649
curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/fcae983a2cb4896f.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/omega-mv
237
292c2e109cb6601c78ca889348192dfb9e15e410
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":237,"url":"https://github.com/aien-dev/omega-mv/pull/237","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:55Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/physics.lock b/physics.lock
index dd5a035d3..be6c1e32a 100644
--- a/physics.lock
+++ b/physics.lock
@@ -1 +1 @@
-e95e3ed2a86fe4bffe4d954fa94c27dfb5284280
+6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf
diff --git a/src/omega_accelerator_world.c b/src/omega_accelerator_world.c
index bc2c664f3..5b0419804 100644
--- a/src/omega_accelerator_world.c
+++ b/src/omega_accelerator_world.c
@@ -112,8 +112,9 @@ int omega_world_init(OmegaAcceleratorWorld *world) {
     world->ring_capacity = world->m16.rm.entries;
     world->channel_active = true;
 
-    /* Allocate persistent pushbuffer ring */
-    if (nvrm_alloc(&world->m16.rm, 0x10000, &world->pb_mem) != 0) {
+    /* The CPU rewrites retired command slots. GPU-cached slots can replay
+     * earlier commands despite CPU store barriers, so bypass that cache. */
+    if (nvrm_alloc_gpu_uncached(&world->m16.rm, 0x10000, &world->pb_mem) != 0) {
         m16_native_close(&world->m16);
         return OMEGA_WORLD_ERR_NO_MEM;
     }
diff --git a/src/omega_world_gates.c b/src/omega_world_gates.c
index 5c746bb76..9e8571e4c 100644
--- a/src/omega_world_gates.c
+++ b/src/omega_world_gates.c
@@ -816,7 +816,9 @@ static bool test_m19_gate8_1000_op(void) {
     omega_world_register_buffer(&world, mat_bytes_out, OMEGA_PERM_READ | OMEGA_PERM_WRITE, &m_c_bf16);
 
     NvrmMem pb_pool;
-    if (nvrm_alloc(&world.m16.rm, 0x40000, &pb_pool) != 0) {
+    /* The CPU reuses these 64 command slots; a GPU-cached slot can replay old
+     * commands on GB10 despite CPU store barriers, so bypass the GPU cache. */
+    if (nvrm_alloc_gpu_uncached(&world.m16.rm, 0x40000, &pb_pool) != 0) {
         omega_world_destroy(&world);
         return false;
     }