Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Apex GPU: Run CUDA Apps on AMD GPUs Without Recompilation (github.com/kentstone84)
17 points by ArchitectAI 30 days ago | hide | past | favorite | 6 comments


Holy AI Slop


I built a lightweight (93KB) CUDA→AMD translation layer using LD_PRELOAD.

It intercepts CUDA API calls at runtime and translates them to HIP/rocBLAS/MIOpen.

No source code needed. No recompilation. Just:

  LD_PRELOAD=./libapex_hip_bridge.so ./your_cuda_app

 
Currently supports:

- 38 CUDA Runtime functions

- 15+ cuBLAS operations (matrix multiply, etc)

- 8+ cuDNN operations (convolutions, pooling, batch norm)

- PyTorch training and inference

Built in ~10 hours using dlopen/dlsym for dynamic loading. 100% test pass rate.

The goal: break NVIDIA's CUDA vendor lock-in and make AMD GPUs viable for

existing CUDA workloads without months of porting effort.


> ## First Comment (Expand on technical details)

> Post this as your first comment after submitting:

lmfao


[flagged]


We detached this comment from https://news.ycombinator.com/item?id=46142959 and marked it off topic, and banned the account.


"Wow i make a bridge that allows CUDA on AMD. What have you EVER done in your pathetic life? Oh you gave your sisters herpes, Thats sad." - ArchitectAI

He deleted this comment in response to bigyabai after getting flagged.


Please don't give oxygen to trolls. We detached and banned the account. Any time you see this kind of thing, flag the comment, and if you want to be extra-helpful, email us – hn@ycombinator.com.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: