Re: opencl and gcc

2011-09-26 Thread M Wahab
There's a very basic GCC front-end for LLVM-IR at http://gcc-llvmir.googlecode.com, which has some support for using clang to generate the LLVM IR. It might be usable as a starting point for an OpenCL front-end, assuming that the OpenCL parser made it into clang. Matthew

Re: opencl and gcc

2011-09-26 Thread Basile Starynkevitch
On Mon, Sep 26, 2011 at 04:24:19PM +0530, naveen yadav wrote: > Hello All, > > OpenCL http://www.khronos.org/opencl/ is a new standard proposing an > API for GPUs (targetting vector processing on heterogenous systems, > like GPU + CPU). > It suggests some restricted & specialized C dialect to code

Re: opencl and gcc

2011-09-26 Thread Philip Pratt-Szeliga
Hello Naveen, A few years ago I did a prototype of the OpenCL support library for google summer of code. As far as I know it has not been incorporated into gcc yet and that was the only OpenCL work done with gcc. The code I did is still available at: https://github.com/pcpratts/gcc_opencl Phil

opencl and gcc

2011-09-26 Thread naveen yadav
Hello All, OpenCL http://www.khronos.org/opencl/ is a new standard proposing an API for GPUs (targetting vector processing on heterogenous systems, like GPU + CPU). It suggests some restricted & specialized C dialect to code "kernel" functions (kernel in OpenCL means running on the GPU). Is there