Results 1 to 2 of 2

Thread: OpenCL and SSE

  1. #1
    Junior Member
    Join Date
    Dec 2009

    OpenCL and SSE

    When using an OpenCL data parallel kernel on an SSE enabled CPU, does OpenCL automatically create SSE code to map work items to the channels of the SSE compute units? Or do you have to code using the OpenCL vector data types to take advantage of the SSE?

    The manual seems to suggest that when using the data parallel programming model, SSE code is generated automatically. While with the task parallel model, you have to use the vector datatypes. However, I've seen some comments around the web that would seem to suggest that you always have to use the vector data types to generate SSE code....

  2. #2
    Senior Member
    Join Date
    Jul 2009
    Northern Europe

    Re: OpenCL and SSE

    My understanding of current OpenCL compilers is that they will not run multiple work-items across the SSE vectors at the same time. I'm not sure the SSE instruction set is sufficiently vector-complete to allow that in general. (Intel claimed Larabee's was, for example.) Currently you need to use the vector types to get SSE code.

Similar Threads

  1. Sum Vector Components in OpenCL (SSE-like)
    By hadesnumb in forum OpenCL - parallel programming of heterogeneous systems
    Replies: 1
    Last Post: 05-30-2012, 02:43 AM
  2. how to start for x86 cpu with SSE instruction
    By linguranus in forum OpenVG and VGU
    Replies: 0
    Last Post: 12-01-2009, 12:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts