Skip to content

Instantly share code, notes, and snippets.

View blasphemetheus's full-sized avatar
:shipit:

Bradley Fargo blasphemetheus

:shipit:
  • The Ether
View GitHub Profile
# Nix clang-wrapper injects -cxx-isystem paths for libstdc++ at compile
# time, but clangd doesn't call the wrapper — it calls clang directly,
# so it misses them. Explicitly add what the wrapper provides on this
# host.
#
# This file is local-env quality-of-life only. When submitted to the
# PR it can be safely ignored; hipcc / g++ on a standard system don't
# need it.
CompileFlags:
Add:
@blasphemetheus
blasphemetheus / verify_blackwell_zero_ulp_claims.exs
Created April 14, 2026 05:48
XLA Blackwell f64 rsqrt / 0-ULP-claim verification sweeps (openxla/xla#40862)
Mix.install([
{:nx, path: "./nx", override: true},
{:exla, path: "./exla"}
])
Nx.global_default_backend({EXLA.Backend, client: :cuda})
Nx.Defn.global_default_options(compiler: EXLA, client: :cuda)
IO.puts("=== Blackwell 0-ULP Claim Verification (RTX 5090 / SM 12.0a) ===\n")