View previous topic :: View next topic |
Author |
Message |
honeymak Guru
Joined: 30 Dec 2002 Posts: 537
|
Posted: Tue Jan 30, 2024 12:51 am Post subject: idea: is it possible to let nvidia card to help gcc compile? |
|
|
is it possible to let nvidia card to help gcc compile in general?
i mean like some AI or other programs which can use nvidia card assisting general cpu to do pytorch or something else
is it possible to alter gcc in some way to use the nvidia card as well?
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Tue Jan 30, 2024 10:11 pm Post subject: |
|
|
GPGPUs are not well suited to doing compiler work. The code for gcc is not per-job parallelizeable like other tasks plus has to be rewritten to get around the deficiencies of the GPU processors, and the preprocessing step needs to be done by the CPU anyway.
So it's totally up to you whether you want to write the code to do this and find out that you're bottlenecked by code memory needed to run gcc. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|