15 points | by ArchitectAI 11 hours ago ago
12 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
- 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.
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.
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:
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.
[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.