frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

GEMM Tutorial and UlmBLAS

2•michael-lehn•1h ago
In 2014 I wrote a tutorial on how to write an efficient matrix multiplication that can achieve near peak performance. This is actually not achieved by some Strassen algorithm variant. It's achieved through a cache friendly algorithm (exploiting the cache hierarchy) and SIMD register instructions.

The tutorial showed how to achieve that step by step. Beginning with a naive implementation using three loops. Then using buffers to first cache matrix blocks and then performing the matrix product block wise. That actually means you make copies of blocks and then do computations with the blocks. Sounds stupid but makes sense: Assume you have square N x N blocks then cost of make making a copy is O(N^2) and for the computation it's O(N^3). If the computation with the copied/cached blocks is much faster this actually pays of.

Anyway the details are explained in the tutorial. As the university web server has changed many times after 2014 I moved it to GitHub: https://github.com/michael-lehn/gemm-tutorial

From the tutorial I created ulmBLAS (ulm makes sense, as I work at Ulm University) which is a complete BLAS implementation. Recently I started with a tutorial for the matrix multiplication with Cuda. Currently there is not much text, I just outlined a possible step by step approach to go from naive to a performant implementation (actually the goal was to be on par with NVIDIA's cuBLAS; but it's more on parish ... but I think still gives an idea). It in the cuda subdirectory of ulmBLAS: https://github.com/michael-lehn/ulmBLAS

Comments

michael-lehn•38m ago
Ups, screwed up the title. Should have been "Show HN: ..."

The N64's GPU Is a Technical Marvel [video]

https://www.youtube.com/watch?v=WEoRgQH08MA
1•zdw•1m ago•0 comments

The Thaura Constitution

https://thaura.ai/constitution
1•conferza•5m ago•0 comments

Somoene bets $10M on Reddit stock anad loses half of it

https://old.reddit.com/r/wallstreetbets/s/LWYApzWCQH
1•paulpauper•5m ago•0 comments

The Ground Beneath Them Was Dry

https://lagomor.ph/2026/10/the-ground-beneath-them-was-dry/
1•jfil•6m ago•0 comments

Sndstation will transform cheap gaming consoles into music handhelds

https://cdm.link/sndstation-linux-distro-for-game-handhelds/
1•Blackthorn•6m ago•0 comments

The Commanding Heights

https://commanding-heights.com/
1•emersonmacro•10m ago•0 comments

$20 plans, $1 of Sol costs 7x what $1 of Opus does. A task, only 1.3x

https://twitter.com/AdamHoltererer/status/2115879037893534195
1•marcellosso•10m ago•0 comments

Assure – your AI agent says "done." This checks if it's lying

https://github.com/mgasparin67-cmd/Agent-verification_Assure
1•spaghetti0•11m ago•0 comments

Ukrainian arms manufacturer Fire Point has overcome Starlink restrictions

https://www.reuters.com/business/aerospace-defense/ukrainian-arms-maker-fire-point-says-its-syste...
3•uxhacker•13m ago•0 comments

AI's Bill Is Due – Intelligence or Brand? – Cold Logic – EP01

https://www.youtube.com/undefined
1•LebToki•18m ago•0 comments

Zinc creep in cable spelter sockets brought down the Arecibo telescope in 2020

https://maketecheasier.com/arecibo-zinc-creep-collapse/
1•ohjeez•18m ago•0 comments

The reasons embedded projects get into trouble (2002)

https://www.ganssle.com/articles/jackstoptenlist.htm
1•ohjeez•21m ago•0 comments

Show HN: Fastbrowse, Browser agent that picks clicks with a System One model

https://www.fastbrowse.ai/
3•furqanrydhan•21m ago•2 comments

Defining AI

https://ali-alkhatib.com/blog/defining-ai
1•bediger4000•22m ago•0 comments

Now what? After the AI crash

https://sorathompson.substack.com/p/now-what
3•SorasTuff•23m ago•0 comments

Compromised eMudhra Certificates: Update Your JetBrains IDEs, ReSharper, etc.

https://blog.jetbrains.com/security/2026/10/compromised-emudhra-certificates-ides/
3•MattGaiser•24m ago•0 comments

Show HN

https://www.gallerismuseum.com/
1•Dharkstranger•28m ago•0 comments

Some Memories of Early Anthropic

https://nothinghuman.substack.com/p/some-memories-of-early-anthropic
3•Nition•32m ago•0 comments

CVE 10.0: CVE-2026-112816, no emudhra required

https://www.cve.org/CVERecord?id=CVE-2026-112816
22•paaloeye•32m ago•2 comments

Google's $500B bloodbath reflects the danger it faces from AI

https://www.economist.com/business/2026/10/29/googles-500bn-bloodbath-reflects-the-danger-it-face...
4•andsoitis•33m ago•1 comments

CVE-2026-112816: Improper certificate validation in the HTTPS listener in LXD

https://cve.now/CVE-2026-112816
3•paaloeye•33m ago•1 comments

Supersonic airliner in doubt as company shifts to powering AI data centers

https://arstechnica.com/gadgets/2026/10/united-airlines-ceo-doubts-supersonic-airliner-from-boom-...
3•fedpost•37m ago•0 comments

INTC and ORCL to Collab Around Agentic AI on OCI

https://www.intel.com/content/www/us/en/newsroom/news/corporate/intel-oracle-collaborate-on-enter...
1•paaloeye•40m ago•0 comments

Show HN: SkillWire, a searchable catalog for coding-agent skills

https://skillwire.net
2•Oscalemor•41m ago•0 comments

Alabama Is Sued over App Store Age Verification Law

https://reclaimthenet.org/alabama-is-sued-over-app-store-age-verification-law
3•latein•42m ago•0 comments

Ignore AI and ask for that pay rise

https://www.economist.com/finance-and-economics/2026/10/29/ignore-ai-and-ask-for-that-pay-rise
3•andsoitis•43m ago•0 comments

Update and Self-Correction: Unlocking Zero-Point Energy (coming soon)

https://zenodo.org/records/23629786
1•AbdulrahmanAhme•48m ago•0 comments

France is getting download tax for content providers (€0.055/GB)

https://www.resetera.com/threads/france-is-getting-download-tax-for-content-providers-%E2%82%AC0-...
27•bko•49m ago•5 comments

Free to Think

https://www.scholarsatrisk.org/resources/free-to-think-2026/
2•jruohonen•53m ago•0 comments

Amem MCP on Mcprush

https://mcprush.com/slaven-s/amem-mcp
2•slugics•53m ago•0 comments