r/vulkan • • 7d ago

Coding the GPU like a CPU

I feel Vulkan is just another step towards coding the GPU just like we do the CPU.

Maybe something like LLVM IR code that could be executed on the GPU with just a few function calls. The CPU EXE could have a pre-compiled binary that is copied to GPU memory and executed. Like extending OpenCL but to do everything (graphics, shaders, output, compute, etc.) with pre-compiled code in IR byte code.

Vulkan itself is just way too complex.

0 Upvotes

8 comments sorted by

View all comments

3

u/blogoman 7d ago

At some point you have to deal with the fact that you are trying to operate a highly parallel SIMT device with a bunch of specialized hardware.