Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
idea: is it possible to let nvidia card to help gcc compile?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Tue Jan 30, 2024 12:51 am    Post subject: idea: is it possible to let nvidia card to help gcc compile? Reply with quote

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?
:oops:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Jan 30, 2024 10:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum