Mark Mitchell writes: >That's correct. I was envisioning a proper compiler that would take >OpenCL input and generate binary output, for a particular target, just >as with all other GCC input languages. That target might be a GPU, or >it might be a multi-core CPU, or it might be a single-core CPU.
I have a hard time seeing why this would be all that worthwhile. Since the instruction sets for AMD, NVIDIA or current Intel GPUs are trade scretes, GCC won't be able to generate binary output for them. OpenCL is designed for heterogenous systems, compiling for multi-core or single-core CPUs would only be useful as a cheap fallback implementation. This limits a GCC-based OpenGL implementation to achieving it's primary purpose with just Cell processors and maybe Intel's Larrabee. Is that what you envision? Without AMD/NVIDIA GPU support it doesn't sound all that useful to me. Ross Ridge