Hi, I wonder is there a way to compile code ( especially Rust ) in GPU. Because as you know when projects getting bigger, compile times and also fan noises increases.
GPUs aren't a speed magic. They are only good at applying small amounts of mathematical computation to many many uniform numbers that are mostly independent of each other.
In compilation of programming languages there are no problems that fit this model, so trying to compile Rust on GPU would not make any sense.
In addition to what @kornel said, as I understand it there is a nontrivial latency involved in copying data from RAM to VRAM, which means that unless the problem is really well-suited (eg graphics rendering, AI computations) to the hardware, even if you could get it to run, it would likely end up being slower rather than faster.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.