|
|
|
|
|
by fearlessleader
4511 days ago
|
|
OpenCL is a quite a lot of abstraction and is meant to be used on lots different products. A rewrite of existing code into openCL would be a massive undertaking (probably better for the long run though). This seems to be an intel only, lets make existing code run fast on the Phi and other cpus, with minimal changes to code or existing concepts. edit: accidental paste. |
|
Other than the vector primitives and address space qualifiers, OpenCL's kernel language adds very little to C, but this adds constructs like foreach, launch, and sync for things that OpenCL uses library functions to provide.
One thing that seems very telling is that it mentions support for SSE2 and SSE4, but omits SSE3 and SSSE3. Those extension sets were mostly about horizontal operations (between different components of the same vector). The way ispc is designed, it doesn't seem like it would be anywhere near as good for things like reduce operations.
The coherent control statements seem like a really good idea given the architecture targeted, and I wonder why I haven't heard of any similar hints for OpenCL.