Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #2573
| From | Christian Gollwitzer <auriocus@gmx.de> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: Parsing using a Graphics Processing Unit (GPU)? |
| Date | 2020-09-01 09:22 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <20-09-002@comp.compilers> (permalink) |
| References | <20-09-001@comp.compilers> |
Am 31.08.20 um 12:35 schrieb Roger L Costello: > Has the parsing community found a way to take advantage of GPUs? I don't think that you can speed up parsing a lot using GPUs. GPUs are generally good at parallel processing. A single thread is usually slower than a CPU thread, and there is overhead, because they are not self-contained - i.e. you can usually speed up only some part of a program, and it needs to be uploaded to the GPU and downloaded back. GPUs also have faster memory, *if* you access it either in big blocks or as a serial stream, in which case the compiler can transform it to block access. For random accesses, the memory is slower. I have done some basic GPU programming, and I think that parsing is not a parallel task in that sense. The parser reads the input as a stream of tokens; you can't split the C file at some arbitrary point in half and parse both parts independently. Christian
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Parsing using a Graphics Processing Unit (GPU)? Roger L Costello <costello@mitre.org> - 2020-08-31 10:35 +0000
Re: Parsing using a Graphics Processing Unit (GPU)? Christian Gollwitzer <auriocus@gmx.de> - 2020-09-01 09:22 +0200
Re: Parsing using a Graphics Processing Unit (GPU)? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2020-09-01 19:02 +0200
Parsing using a Graphics Processing Unit (GPU)? Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2020-09-02 01:14 +0300
Re: Parsing using a Graphics Processing Unit (GPU)? Jan Ziak <0xe2.0x9a.0x9b@gmail.com> - 2020-09-02 02:13 -0700
Re: Parsing using a Graphics Processing Unit (GPU)? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2020-09-02 22:34 +0200
Re: Parsing using a Graphics Processing Unit (GPU)? "A. K." <minforth@arcor.de> - 2020-09-01 01:25 -0700
Re: Parsing using a Graphics Processing Unit (GPU)? arnold@skeeve.com (Aharon Robbins) - 2020-09-02 05:43 +0000
Re: Parsing using a Graphics Processing Unit (GPU)? Elijah Stone <elronnd@elronnd.net> - 2020-09-01 20:13 -0700
Re: Parsing using a Graphics Processing Unit (GPU)? Roger L Costello <costello@mitre.org> - 2020-09-02 11:45 +0000
Re: Parsing using a Graphics Processing Unit (GPU)? Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2020-09-02 17:57 +0300
Re: Parsing using a Graphics Processing Unit (GPU)? gah4 <gah4@u.washington.edu> - 2020-09-09 14:09 -0700
csiph-web