Search:

Type: Posts; User: hadesnumb

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,204

    Sum Vector Components in OpenCL (SSE-like)

    Is there a single instruction to calculate the sum of all components of a float4, e.g., in OpenCL?

    Example:
    float4 v;
    float desiredResult = v.x + v.y + v.z + v.w;

    Is there an SSE-like set of...
  2. Replies
    5
    Views
    1,963

    Re: Check whether cl_mem object is valid

    I was not sure whether an initialization with "NULL" was okay for the cl_mem object.

    In case cl_mem is a pointer type, this is of course the clean solution.

    Thanks a lot!
  3. Replies
    5
    Views
    1,963

    Re: Check whether cl_mem object is valid

    Thank you. My impression somehow was, that this should be the desired behavior - but I could not believe that there is such a rather dirty bug in the nVidia OpenCL implementation. I use a nVidia GTS...
  4. Replies
    5
    Views
    1,963

    Check whether cl_mem object is valid

    Hi all,

    what I am trying to do seems rather simple to me, but at the moment I have the feeling it is not possible with OpenCL:

    I want to check whether some cl_mem-object is actually valid...
  5. Re: Question on OpenCL image memory consumption

    Question answered:
    I was not aware of that when I choose CL_INTENSITY the image is internally stored with only one channel.
  6. Question on OpenCL image memory consumption

    Hi,

    I am new to OpenCL (have a bit more experience with CUDA) and have a question about image memory objects.

    Do I understand correctly, that there is no way to have an image with only one...
Results 1 to 6 of 7