←back to thread

1045 points mfiguiere | 1 comments | | HN request time: 0.206s | source
Show context
codedokode ◴[] No.39351226[source]
As I understand, Vulkan allows to run custom code on GPU, including the code to multiply matrices. Can one simply use Vulkan and ignore CUDA, PyTorch and ROCm?
replies(5): >>39352478 #>>39353773 #>>39354188 #>>39354540 #>>39355589 #
1. Const-me ◴[] No.39352478[source]
I did a few times with Direct3D 11 compute shaders. Here’s an open-source example: https://github.com/Const-me/Cgml

Pretty sure Vulkan gonna work equally well, at the very least there’s an open source DXVK project which implements D3D11 on top of Vulkan.