Ideas for Google Summer of Code

2009-03-29 Thread phil++
Hello All, I am a PhD student who has been working with CUDA for the GPU and also gcc for Cell BE for about a year now. (By work I mean developing applications). I am looking to bring GCC closer to being able to support OpenCL as a Google Summer of Code. Here are some of my ideas: 1. Make an NV

Re: Ideas for Google Summer of Code

2009-03-29 Thread Daniel Kraft
Hi, phil++ wrote: I am a PhD student who has been working with CUDA for the GPU and also gcc for Cell BE for about a year now. (By work I mean developing applications). I am looking to bring GCC closer to being able to support OpenCL as a Google Summer of Code. Here are some of my ideas: 1. M

Re: Ideas for Google Summer of Code

2009-03-30 Thread Paolo Bonzini
> I am a PhD student who has been working with CUDA for the GPU and also > gcc for Cell BE for about a year now. (By work I mean developing > applications). I am looking to bring GCC closer to being able to > support OpenCL as a Google Summer of Code. This is very interesting and I'm willing to h

Re: Ideas for Google Summer of Code

2009-03-30 Thread Joseph S. Myers
On Mon, 30 Mar 2009, Paolo Bonzini wrote: > 2) half-precision floats; I expect Sandra will be merging half-precision support for ARM to trunk fairly soon; see her announcement . This includes generic support for the IEEE half-precision

Re: Ideas for Google Summer of Code

2009-03-30 Thread Paolo Bonzini
Joseph S. Myers wrote: > On Mon, 30 Mar 2009, Paolo Bonzini wrote: > >> 2) half-precision floats; > > I expect Sandra will be merging half-precision support for ARM to trunk > fairly soon; see her announcement > . This includes > generi

Re: Ideas for Google Summer of Code

2009-03-30 Thread Joe Buck
On Mon, Mar 30, 2009 at 01:09:56AM -0700, Paolo Bonzini wrote: > > I am a PhD student who has been working with CUDA for the GPU and also > > gcc for Cell BE for about a year now. (By work I mean developing > > applications). I am looking to bring GCC closer to being able to > > support OpenCL as

Re: Ideas for Google Summer of Code

2009-03-30 Thread phil++
Hi All, Thanks for the feedback. As far as the NVIDIA ISA details, I have the pdf that describes it. In the CUDA toolkit, available on NVIDIA's website there is a pdf named ptx_isa_1.3.pdf under the doc directory. (Get it from here http://www.nvidia.com/object/cuda_get.html). So we can do Intel

Re: Ideas for Google Summer of Code

2009-03-30 Thread Joe Buck
On Mon, Mar 30, 2009 at 10:10:24AM -0700, phil++ wrote: > Hi All, > > Thanks for the feedback. As far as the NVIDIA ISA details, I have the > pdf that describes it. In the CUDA toolkit, available on NVIDIA's > website there is a pdf named ptx_isa_1.3.pdf under the doc directory. > (Get it from h

Re: Ideas for Google Summer of Code

2009-03-30 Thread Paolo Bonzini
> So we can do Intel, ATI and NVIDIA GPU backends. NVIDIA already has > an implementation of OpenCL working. > http://www.nvidia.com/object/cuda_opencl.html. Would there be any > sharing involved with them?? If you mean between backends, 1) do not underestimate the time needed to write a new GCC

Re: Ideas for Google Summer of Code

2009-03-30 Thread Philip Pratt-Szeliga
Joe Buck, You have to choose an operating system and then a table appears below it to download the CUDA toolkit. Phil On Mon, Mar 30, 2009 at 1:32 PM, Joe Buck wrote: > On Mon, Mar 30, 2009 at 10:10:24AM -0700, phil++ wrote: >> Hi All, >> >> Thanks for the feedback.  As far as the NVIDIA ISA

Re: Ideas for Google Summer of Code

2009-03-30 Thread Ross Ridge
Paolo Bonzini writes: >Regarding the NVIDIA GPU backend, I think NVIDIA is not yet distributing >details about the instruction set unlike ATI, is it? In this case, I >think ATI would be a better match. I think a GPU backend would be well beyond the scope of a Summer of Code project. GPUs don't h

Re: Ideas for Google Summer of Code

2009-03-30 Thread Ross Ridge
Joe Buck writes: >I'm having trouble finding that document, I don't see a link to it >on that page. Maybe I'm missing something obvious? Sticking "nvidia ptx" into Google turned up this document: http://www.nvidia.com/object/io_1195170102263.html It's an intermediate language, so isn't

Re: Ideas for Google Summer of Code

2009-03-30 Thread phil++
Paolo, Thanks for the feedback, I am not very experienced in compilers so it is hard to judge how long a task will take... By sharing I meant sharing of code between NVIDIA and GCC. It probably won't happen I guess. Here is my proposal for an OpenCL runtime with a target runtime as well. If yo

Re: Ideas for Google Summer of Code

2009-03-30 Thread Joe Buck
On Mon, Mar 30, 2009 at 01:36:14PM -0700, Ross Ridge wrote: > Joe Buck writes: > >I'm having trouble finding that document, I don't see a link to it > >on that page. Maybe I'm missing something obvious? > > Sticking "nvidia ptx" into Google turned up this document: > > http://www.nvidia.

Re: Ideas for Google Summer of Code

2009-03-30 Thread Joseph S. Myers
On Mon, 30 Mar 2009, Ross Ridge wrote: > >2) half-precision floats; > > Do you mean just conversion only support, like Sandra Loosemore's > proposed ARM patch, or full arithmetic support like any other scalar or > vector type? Arithmetic via converting to float, doing arithmetic on that and con