Running CUDA Entry Points Across 33 Cloud Instances via a CPU Fallback Backend (Feb 2026, with Nov 2026 Errata)

We tested an early CUDA runtime/API compatibility shim across 33 EC2 instance runs via a host CPU fallback backend (with attached GPUs unused), documenting a 9 supported / 10 degraded / 5 unsupported limits matrix and Nov 2026 errata.

Running CUDA Entry Points Across 33 Cloud Instances via a CPU Fallback Backend (Feb 2026, with Nov 2026 Errata) — Open Interface Engineering
Running CUDA Entry Points Across 33 Cloud Instances via a CPU Fallback Backend (Feb 2026, with Nov 2026 Errata) (CPU Fallback Shim · 33 EC2 Runs (GPUs unused; unmetered) · 9 Supported / 10 Degraded / 5 Unsupported Limits).

Temporal & Archival Scope: Era I Founding Essay (Originally published February 16, 2026; verbatim essay followed below by dated November 25, 2026 Errata & Related Work Addendum) · Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/we-ran-cuda-on-every-machine-in-the-cloud/

Provenance & Telemetry Hygiene: Signed Provenance · Self-Checked (automated OpenIE internal gates; not externally peer-reviewed) · Energy Class: unmetered (measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered — Verification, Licensing & AI-Use Disclosure · Glossary & Non-Mixing Rules).

We wrote about the wall between researchers and GPU compute — the CUDA silo that locks out every machine without an NVIDIA driver.1

Some walls you talk about. Other walls you tear down.

This week we deployed CUDA workloads to 33 different EC2 instance types across Amazon’s cloud. ARM processors. Intel Xeons. AMD EPYCs. Bare metal servers with no hypervisor. GPU instances with NVIDIA cards physically present but no drivers installed. Eight CPU microarchitectures spanning processors from 2015 to 2023. (Superseded / corrected — all 33 runs executed on a host CPU fallback shim while any physical GPU sat unused; g4ad.xlarge carried an AMD Radeon Pro V520 rather than an NVIDIA card; and the matrix actually spanned 9 CPU microarchitecture variants; see Errata 1, 3, and 4 below)

Every compatibility test passed. Every library module loaded. And the scientific limits proof told us exactly where the boundaries are.


Hypothesis

CUDA is an interface — a set of abstractions over parallel computation. If the interface semantics are faithfully implemented, there is no physical law that says CUDA workloads need NVIDIA silicon underneath.

We built Invisible CUDA to test this hypothesis. A universal CUDA compatibility layer that translates CUDA operations to whatever hardware is actually present. (Superseded / corrected — on Linux cloud hosts without NVIDIA drivers in this experiment, operations translated solely to the host CPU, leaving non-NVIDIA GPUs (g4ad AMD Radeon V520) and driverless NVIDIA GPUs completely idle; see Erratum 1 below) Then we needed to prove it worked. Not on one machine. On every kind of machine.


Experimental Design

We wrote three test suites and deployed them to every EC2 instance type we could launch.

Suite 1 — Compatibility (17 tests). Core CUDA operations: vector add/mul/FMA/SAXPY at multiple sizes, memory round-trips (64 bytes to 4 MB, byte-exact), memset with 4 bit patterns, device-to-device copies, 150-buffer allocation stress, multi-kernel dispatch, SGEMM at four matrix sizes verified against a CPU reference implementation, three BLAS operations, and stress tests — 1 GB allocations, 10,000 rapid kernel dispatches, 500 concurrent buffers. (Superseded / corrected — the 1 GB allocation stress test passed on 0.9 GB RAM instances (t4g.micro, t3.micro) only because Linux virtual memory overcommit returns lazy virtual addresses before physical pages are faulted; see Erratum 2 below)

Suite 2 — Library Coverage (47 modules, 164 API calls). Every major CUDA library — cuBLAS, cuBLASLt, cuDNN, cuFFT, cuSPARSE, cuRAND, cuSOLVER, cuTENSOR, NCCL, NVML, Thrust/CUB, NVRTC, NVENC, NVDEC, nvJPEG, NPP, TensorRT, NVTX, cuFile — plus research libraries: CUTLASS, Triton kernels, xformers, flash attention, tiny-cuda-nn, and domain modules for molecular dynamics, 3D reconstruction, quantum computing, and audio processing. Plus a HIP/ROCm compatibility layer. Each module: create runtime, invoke APIs, destroy, report status. (Superseded / corrected — lightweight API-handle lifecycle and CPU reference-stub smoke tests (~3.5 calls/module), not full feature-complete drop-in implementations of TensorRT, NVENC, FlashAttention, or cuQuantum; see Addendum below)

Suite 3 — Scientific Limits (24 tests, 5 categories). This is the honest part. Not “does it work?” but “where exactly does it stop working?” Five categories: hard limits (CUDA-exclusive hardware features), semantic gaps (behavioral differences), precision boundaries (numerical accuracy), performance scaling (throughput characteristics), and edge cases (breaking points under extreme conditions).

Distributed Cluster. A coordinator on t3.large orchestrating workers across t3.small (x86), t4g.small (ARM), and c7g.large (ARM) — heterogeneous CUDA execution across architectures.

Binary Construction

Cross-compiled from macOS to Linux via cargo-zigbuild targeting glibc 2.17 (CentOS 7, 2014):

One binary per ISA. Identical test suite. No hardware-specific code paths.

Deployment

Wave-based EC2 launch respecting vCPU quotas. Each instance: downloads binary from S3, executes all three suites, uploads structured JSON results to S3, self-terminates. Infrastructure via AWS CDK.


Hardware Matrix

33 instances, 8 CPU microarchitectures, 4 CPU vendors, 2 ISAs: (Superseded / corrected — the table below lists 32 rows (1 of the 33 raw S3 logs omitted in formatting), 9 distinct CPU microarchitecture variants (4 ARM/Graviton + 3 Intel Xeon + 2 AMD EPYC), and 3 silicon CPU vendors (AWS/ARM, Intel, AMD); see Erratum 3 below)

Every row: 17/17 compatibility tests PASSED. 47/47 coverage modules PASSED.

Plus the distributed cluster test across heterogeneous x86 + ARM workers.


Results

Compatibility: 17/17 on all 33 instances

No instance failed any test. No test required hardware-specific tolerances. The same binary — without modification — produced identical pass/fail outcomes on a $0.008/hr ARM instance with 900 MB of RAM and a $7.82/hr bare metal server with 96 cores and 377 GB of RAM. (Superseded / corrected — see Erratum 2 on Linux virtual memory overcommit for the 1 GB allocation on 900 MB RAM)

Library Coverage: 47/47 on all 33 instances

164 API calls across 47 CUDA library modules. Every module initialized, executed its representative operations, and shut down without error. From cuBLAS and cuDNN through research modules like flash_attn, tiny_cuda_nn, and cu_quantum.

Scientific Limits: The Honest Assessment

This is what distinguishes a proof from a demo. We didn’t just test what works — we systematically tested what doesn’t.

9 fully supported — full CUDA behavioral compatibility: FMA precision, FP16 conversion, accumulated error propagation, memory bandwidth profile, kernel launch overhead, maximum grid size (tested to 1M), register pressure (1,000 op chains), bitwise operations (AND/POPC/BREV/DP4A), allocation limits (10,000 concurrent at 9.8 GB total). (Superseded / corrected — 9.8 GB concurrent virtual allocation passed on low-RAM instances via anonymous mmap overcommit without faulting resident pages; see Erratum 2 below)

10 degraded — correct for standard workloads, documented differences for specialized patterns:

(Superseded / corrected — see Erratum 5 below on why v0.1 parallel scaling stalled at 1.2x (0.9 GFLOPS) due to synchronous host thread-barrier dispatch and memory-bandwidth saturation, and note that non-working Barriers/Branches/2D-3D indexing break most non-trivial production CUDA kernels)

Standard CUDA kernels — element-wise operations using grid/block indexing — are unaffected by these differences. Warp-aware algorithms (reductions using shuffle, ballot-based masking) will produce different results.

5 unsupported — require NVIDIA hardware, cannot be emulated:

These are hardware-accelerated features that have no equivalent on general-purpose CPUs. Applications using them will not produce correct results on the CPU backend. This is a known, documented boundary.


The Graviton 1 Story

The a1.metal deserves its own section because it almost didn’t work, twice.

First attempt: Amazon Linux 2023 kernel-panicked on boot. Graviton 1 is ARMv8.0; AL2023’s glibc requires ARMv8.2+. The system wouldn’t start. We switched to Amazon Linux 2, which ships glibc 2.26 and supports ARMv8.0.

Second attempt: the proof binary crashed immediately. GLIBC_2.28 not found. Our cross-compiled binaries were dynamically linked against glibc 2.28+. Amazon Linux 2 has glibc 2.26.

We retargeted to glibc 2.17 via cargo-zigbuild — the same glibc from CentOS 7, released in 2014. The binaries now run on essentially any Linux system built in the last twelve years.

Third attempt: 17/17 compatibility tests passed. 47/47 modules passed. The limits proof completed with the same 9/10/5 split as every other instance.

A Cortex-A72 from 2015 running a 2018 kernel with a 2014 glibc, executing CUDA workloads that produced numerically identical results to a 2023 Sapphire Rapids. The interface doesn’t care what’s underneath.


The Cost Analysis

A g4dn.xlarge costs $0.526/hr. It has an NVIDIA T4 GPU drawing 70 watts, attached to a host system drawing another 200+ watts. To run a CUDA matrix multiply, you power all of that. (Superseded / corrected — 70 W is peak T4 TDP (est_j), 200+ W is a whole multi-tenant dual-socket server rather than a 4-vCPU g4dn.xlarge slice, and AWS guests expose zero physical power meters (unmetered); see Addendum below)

A t4g.micro costs $0.008/hr. It’s an ARM core drawing a few watts. It ran the same CUDA matrix multiply. 65x cheaper per hour. (Superseded / corrected — 65x cheaper per wall-clock hour, NOT per FLOP: at 0.9 GFLOPS CPU shim vs. 4,416 GFLOPS native T4, the CPU fallback is ~4,900x slower per matrix multiply, making compute work ~75x MORE expensive per FLOP when GPU throughput is actually utilized; see Addendum below)

This is not an argument that the t4g.micro is faster. It isn’t. The limits proof showed peak SGEMM at ~0.9 GFLOPS on a Graviton 1 versus ~19,500 GFLOPS on an A100. The CPU backend is for compatibility, not throughput.

The question is: does every CUDA workload actually need a GPU?

For a surprising number of workloads — inference on small models, preprocessing pipelines, data transforms, batch operations that aren’t latency-sensitive, development and testing, CI/CD validation, educational workloads — the answer is no. All of these run on a $0.008/hr ARM instance now. Previously, they required a $0.526/hr GPU instance, or they didn’t run at all.


Reproducibility

All test source code, raw result data, the EC2 orchestration script, and the full experimental design document are published at github.com/openIE-dev/invisible-cuda.

The repository includes:

Every result is machine-parseable (structured JSON blocks in each output file). Every test tolerance is documented. Every limitation is stated.


What This Means

CUDA was never really about GPU hardware. CUDA is an interface — a way of expressing parallel computation. The interface happened to be stapled to one vendor’s silicon for twenty years, but that was a business decision, not a law of physics.

We’ve now demonstrated, empirically, across 33 instance types spanning four CPU vendors, two ISAs, eight microarchitectures, bare metal and virtualized, with and without GPUs, from $0.008/hr to $7.82/hr — that the interface runs everywhere. (Superseded / corrected — see Erratum 3 on 9 CPU microarchitectures / 3 silicon CPU vendors and Erratum 1 on CPU-only execution) And we’ve documented exactly where it stops: 5 hardware-exclusive features, 10 behavioral differences, all catalogued with evidence.

The binary is 788 KB. It has no dependencies. It targets glibc 2.17. It runs on a Cortex-A72 from 2015 and a Sapphire Rapids from 2023. It runs on a machine with 900 MB of RAM and a machine with 503 GB.

The wall is down.

Honor your ancestors. Make tomorrow better for your progeny.

Strength and Honor.


References


Archival Note & Mandatory Five-Point Technical Errata

We preserved the original URL slug (we-ran-cuda-on-every-machine-in-the-cloud) for link stability, restored the February 16, 2026 body text 100% verbatim from commit 5e5f2a3 (reversing a mid-year inline edit to “The Cost Analysis”), and retitled the headline candidly. Our November 25, 2026 review documents five mandatory technical corrections:

  1. Host CPU Fallback Execution — All Attached GPUs Sat Unused: The original headline (“We Ran CUDA on Every Machine in the Cloud — Without a Single GPU Driver”) led readers to infer GPU acceleration without proprietary drivers. In reality, across all 33 Linux EC2 runs in this study, "ran CUDA" meant intercepting CUDA entry points inside our 788–876 KB Rust shim and executing translated scalar/threaded IR on the host CPU fallback backend while every attached GPU sat completely idle (both the driverless NVIDIA T4/T4G/L4/A10G cards and the AMD GPU in g4ad.xlarge—no Vulkan, ROCm/AMDGPU, or DRM/KMS GPU dispatch ran on Linux in v0.1). Moreover, Suite 2’s 47 modules (164 calls total, ~3.5 calls/module) exercised lightweight API handle initialization and CPU reference-stub smoke paths—not feature-complete implementations of cuDNN, TensorRT, NVENC, or FlashAttention, and Suite 3’s linear-branch / 1D-output / no-op-barrier semantics suffice for 1D element-wise/CI smoke kernels rather than warp-synchronous production CUDA code.
  2. Why 1 GB (and 9.8 GB) Allocations Passed on 0.9 GB Physical RAM Instances (t4g.micro, t3.micro): Passing a 1 GB buffer allocation (and 10,000 buffers totaling 9.8 GB in Suite 3) on swapless 900 MB (0.9 GB) RAM micro-instances did not store 1 GB of live data in 900 MB of physical DRAM. Under Linux’s default vm.overcommit_memory = 0 heuristic virtual-memory overcommit, anonymous malloc / mmap reserves virtual address space (VMA) lazily and returns a valid non-null pointer immediately; physical 4 KB pages are only backed by DRAM on first write page-fault. Touching/dirtying all 1 GB of resident pages (RSS) on a swapless 0.9 GB instance triggers the Linux kernel OOM killer.
  3. CPU Microarchitecture & Table Count Reconciliation ("8" Written vs. 9 Listed): The prose and table header wrote “8 CPU microarchitectures, 4 CPU vendors,” whereas the Hardware Matrix actually lists 9 distinct CPU microarchitecture variants across 3 silicon CPU vendors:
    • AWS / ARM (4 variants): (1) ARM Cortex-A72 (Graviton 1, a1.metal), (2) ARM Neoverse-N1 (Graviton 2, t4g/c6g/m6g/r6g/g5g), (3) ARM Neoverse-V1 (Graviton 3, m7g/c7g/r7g), and (4) Graviton 3E enhanced-SIMD HPC variant (hpc7g.4xlarge—8 base cores only if merging Graviton 3 and 3E, 9 distinct processor implementations as listed).
    • Intel (3 microarchitectures): (5) Skylake-SP (Xeon 8151, z1d.metal), (6) Cascade Lake (Xeon 8259CL & 8252C, t3/g4dn/m5zn), and (7) Sapphire Rapids (Xeon 8488C, m7i/r7i/c7i).
    • AMD (2 microarchitectures): (8) Zen 2 (EPYC 7R32, g4ad/g5) and (9) Zen 3 (EPYC 7R13, g6). (Note also that the Markdown table printed 32 instance rows while results/raw/ archived 33 instance runs—one instance row was dropped during Markdown table formatting—and "4 CPU vendors" double-counted ARM Ltd. and AWS Annapurna Labs separately alongside Intel and AMD.)
  4. g4ad.xlarge Carries an AMD Radeon GPU, Not NVIDIA: The introductory paragraph referred generically to “GPU instances with NVIDIA cards physically present,” overlooking that g4ad.xlarge in row 12 carries an AMD Radeon Pro V520 (RDNA 1) GPU, not an NVIDIA GPU! Like the NVIDIA cards on g4dn/g5/g5g/g6, that AMD GPU was completely untouched by the host CPU fallback binary.
  5. Candid Root Cause of 1.2x Multi-Core Parallel Scaling (0.9 GFLOPS SGEMM): Suite 3 recorded only a 1.2x parallel speedup across host CPU cores (and 0.9 GFLOPS naive scalar SGEMM). That bottleneck occurred because v0.1’s CPU fallback dispatched thread-blocks through synchronous host OS thread barriers, stepped through unvectorized scalar IR instructions per virtual thread (forfeiting AVX-512 / NEON FMA lanes), and saturated L3/DRAM bandwidth on uncached workspace arrays—confirming that v0.1 on Linux was strictly a CI/API-stub smoke-test shim, where $0.008/hr saves hourly VM rent for lightweight CI tests (65x lower $/hr) but costs orders of magnitude more per FLOP than a real GPU on heavy compute.

Executing CUDA or heterogeneous kernels across CPUs and non-NVIDIA GPUs has a rich systems literature that our February post failed to cite:

How This Seed Evolved by November 2026

Suite 3’s candid 9 supported / 10 degraded / 5 unsupported table proved far more enduring than the v0.1 CPU shim itself—becoming the direct template for OpenIE’s mandatory Pre-Registered Falsifier & Scientific Limits Ledger:

Diff & Changelog (commit 5e5f2a3 → 2026-11-25)

Footnotes

  1. Charlot, D. “GPU Access Control — CUDA vs Metal: Making Rigid Interfaces Disappear.” OpenIE Blog, February 2026. ↩


Canonical Provenance, Primary Artifacts & Independent Replication