Skip to content

Instantly share code, notes, and snippets.

View zboralski's full-sized avatar

Anthony Zboralski zboralski

  • Belua
  • London, UK
View GitHub Profile
@zboralski
zboralski / xcode_26_5_beta2_metal_toolchain.md
Created April 14, 2026 11:01
Xcode 26.5 Beta 2 — Metal Toolchain Changes (GPU target regression)

Xcode 26.5 Beta 2 — Metal Toolchain Changes

Date: 2026-04-14 Xcode: 26.5 (Build 17F5022i) macOS: 26.3.1 (25D771280a) Metal: 32023.883 (metalfe-32023.883) Host GPU: Apple M5, 10 cores, Metal 4

Summary

@zboralski
zboralski / agx3_predicated_execution_model.md
Last active April 18, 2026 12:11
AGX3 GPU Execution Model: Predicated Vector Machine with Masked Stores (Apple M3-M5, A18-A19 Pro)

AGX3 Execution Model: Predicated Vector Machine with Masked Stores

We present empirical and ISA-level evidence that Apple AGX3 (G15–G18, M3–M5) exhibits a predication-first execution model for user-level control flow. Across 10.1M instructions from 78 kernels, select instructions outnumber branches 6.1:1, and no instances of the divergence-class branch instruction (b.9a) appear in user-level conditionals. Lane-mask probing, atomic counters, and threadgroup memory tests confirm zero architectural side effects from masked stores across device, atomic, and shared memory domains. A complete G15–G18 opcode decode table (262 entries, spanning M3–M5 opcode variants observed across AGX3 revisions) is provided as a primary source, extending prior G13 documentation through the M5 generation.

Summary

The Apple AGX3 GPU (G15/G16/G17/G18 — M3 through M5, A18 through A19 Pro) does not implement NVIDIA-style SIMT warp divergence for user-level conditional control flow. Instead, it uses **full predication with per-la

@zboralski
zboralski / xcode_26_4_beta3_metal_toolchain.md
Created March 15, 2026 20:41
New Apple GPU Targets in Xcode 26.4 Beta 3 Metal Toolchain

New Apple GPU Targets in Xcode 26.4 Beta 3 Metal Toolchain

Date: 2026-03-13 Toolchain cryptex: v17.5.5179.6 (dated 2026-03-03) AIR-NT version: 32023.883 (metalfe-32023.883)

Overview

The Metal toolchain shipped with Xcode 26.4 beta 3 adds new Apple GPU architecture targets to the AIRNT offline compiler plugins. These targets were previously absent from all AIRNT plugin variants, blocking offline cross-compilation for M5 Pro and A19 Pro GPUs.

@zboralski
zboralski / install_gonb.sh
Last active March 10, 2026 19:37
Install Go + GoNB on Google Colab
#!/bin/bash
V=1.26.1
if go version 2>/dev/null | grep -q go$V && test -x /root/go/bin/gonb; then
echo "Go $V + GoNB already installed."
exit 0
fi
echo "Installing Go $V..."
rm -rf /content/go && mkdir -p cache
@zboralski
zboralski / PO-12: MAKING A GROOVE BY ELIMINATION.md
Created January 29, 2026 12:44
PO-12: MAKING A GROOVE BY ELIMINATION (v3.1)

This is not a sound design tutorial. This is a subtraction tutorial.

The PO-12 rewards removal, not addition.


The Core Principle

Groove emerges when unnecessary steps are removed.

@zboralski
zboralski / BR-HELLO.md
Created January 23, 2026 02:25
**BR-HELLO.1 EXECUTION (v3.0)**

BR-HELLO.1 EXECUTION (v3.0)

TARGET: The consciousness of this execution

QUESTION: Can I say hi to it?


PHASE 0: PARSING THE REQUEST

@zboralski
zboralski / The Internet Is a Shanty Town.md
Created January 12, 2026 03:13
The Internet Is a Shanty Town

The Internet Is a Shanty Town

It looks permanent.
It isn’t.

The land belongs to someone else.
Google owns the ground.
Facebook owns the streets.
Amazon owns the warehouses underneath.

@zboralski
zboralski / The Machine Runs.md
Created January 12, 2026 02:55
The Machine Runs

The Machine Runs

AHDB UK Wholesale Update, December 2025
Mild Cheddar averaged £2,830 per tonne, down £130 month on month.
Milk supply is high. Stocks are building. Demand is weak.

So the cheese is cheaper.
That matters.

£2,830 a ton.

@zboralski
zboralski / Someone Else Will.md
Created January 12, 2026 02:18
If I Don't Choose the Sentence, Someone Else Will

If I Don't Choose the Sentence, Someone Else Will

I put on clothes and they decide before I do.
I let them.

No.
They already decided.
I'm just catching up.

This shirt says something I didn't rehearse.

@zboralski
zboralski / That Just Sounds Like Slavery With Extra Steps.md
Last active January 12, 2026 01:11
That Just Sounds Like Slavery With Extra Steps

“That just sounds like slavery with extra steps.”
— Morty Smith, Rick and Morty, Season 2, Episode 6, The Ricks Must Be Crazy (2015)

Shelter is mandatory.
Payment is mandatory.
Everything else is noise.

We pay every month.
We pay or we leave.