Compiling with GPU

Can we use GPU for compiling ?or we only can compiling with cpu ?and wich cpu is the best for compiling ?

Compilation of what?

For compiling shaders

Compilation of shaders is always done on CPU. I can be wrong, but the compilation of shaders is performed by GPU driver. Shader compilation scales perfectly with number of cores. The more cores you have the better. The best performance\price CPU (september 2018) for the task is Ryzen 7 1700-ish CPU if you can find it for ~$230, but this is my personal opinion.

it may just be a typo but your answer contradicts itself.

No its not, shader compilation is performed by software driver, that is provided by GPU manufacturer. But compilation runs on CPU.

Don’t forget to mark this as answered, if my answer has clarified your questions.

Thanks you