TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How AMD Is Taking Standard C/C++ Code to Run Directly on GPUs

26 pointsby peutetre5 months ago

3 comments

JonChesterfield5 months ago
The thought experiment here was &quot;what if you treat the GPU like an embedded target, instead of using cuda style languages to program it&quot;. Works great.<p>I especially like this on APUs - my laptop from 2020 and a MI300A from today run it happily. Write to files, hack on data structures shared with x64, all is good. Quite a lot of libc++ works now too.<p>Noone seems very excited about this so far but Joseph and I are thrilled that it works. It&#x27;s also to AMD&#x27;s credit that they&#x27;ve let us run with this despite no direct commercial motivation. We did find a bunch of compiler bugs standing it up.
CowFreedom5 months ago
I wonder how the shared memory model is mapped to this approach. Looking at it now
LegNeato5 months ago
Also check out Rust GPU, which aims to do the same for Rust: <a href="https:&#x2F;&#x2F;github.com&#x2F;Rust-GPU&#x2F;rust-gpu" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Rust-GPU&#x2F;rust-gpu</a>