On 12/05/2025 15:27, Nikhil Patil via Gcc wrote:
Hi Richard,
Thank you so much for the reply!
You're absolutely right about using CPU threads. I’m just really curious
about whether GPU acceleration could somehow be explored for compilation,
even if it’s not traditionally well-suited. I know it might not be
practical, but I wanted to understand *why* it’s considered inefficient and
learn through experimentation.
To run fast on a GPU it's not enough to be able to parallelize the code,
you need to *vectorize* it. Not much of a compiler vectorizes well.
Andrew