Search:

Type: Posts; User: xargon

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,420

    Re: Passing a matrix to openCL

    Thanks! I will have a look at ArrayFire this week :)
  2. Replies
    6
    Views
    2,420

    Re: Passing a matrix to openCL

    Ahhhhhh.....yes, that is a great idea. I will do the read only flag bit as that is probably a bit easier to understand for the other developers.

    Thank you for the reply. Much appreciated.

    I am...
  3. Replies
    6
    Views
    2,420

    Re: Passing a matrix to openCL

    Thank you for the reply. The problem is that the matrix is only known at run time and not compile time. So, I read an image and an associated transformation matrix and then I transform every pixel...
  4. Replies
    6
    Views
    2,420

    Passing a matrix to openCL

    Hello,

    I have an OpenCL kernel where all the threads need to access the same 3x4 matrix. So, I am guessing constant memory would be the best place for such a matrix.

    However, I am unable to...
  5. Replies
    2
    Views
    1,080

    Re: Question about OpenCL samplers

    Many thanks for the reply! I will test it on the CPU as soon as I have the code working and see what I get out of it.

    I guess doing own implementation might be much more effieint on CPU as well,...
  6. Replies
    2
    Views
    1,080

    Question about OpenCL samplers

    Hello,

    I am very new to OpenCL and I have a question about how samplers are dealt with.

    I am dealing mostly with 3D images and as I understand it, I have to do the following:

    - Create an...
  7. Replies
    2
    Views
    1,512

    Re: OpenCL error on multiple kernel runs

    Ok, after messing about a bit, it seems that the cl::Event object could not be reused. So, I basically created a cl::Event object inside the loop and it works fine. Strange.

    Does anyone know how I...
  8. Replies
    2
    Views
    1,512

    OpenCL error on multiple kernel runs

    Hello,

    I have a very simple kernel that adds a constant to all elements in an array and then updates an output. The kernel is simple and it looks as follows:



    __kernel void...
  9. Replies
    2
    Views
    1,709

    Re: compiling kernels OpenCL using clBuildProgram

    Thanks for the very detailed and illuminating reply!

    /x
  10. Replies
    2
    Views
    1,709

    compiling kernels OpenCL using clBuildProgram

    Hello,

    I am porting some CPU code to OpenCL and I will have some 20 odd different kernels. My question is that should I compile all 20 kernels at the beginning of the program and maintain an array...
  11. Replies
    0
    Views
    2,251

    Image3D object in OpenCL

    Hello all,

    I am using the C++ wrappers to OpenCL and writing a wrapper around the Image2D/3D classes in OpenCL. I have a couple of questions about this.

    I see that there are two separate...
  12. Replies
    2
    Views
    1,277

    Re: newbie question about OpenGL

    Thanks! The project is about optimizing certain parameters to reconstruct some optical images and there is a lot of image post processing involved. So a lot of operations like resampling,...
  13. Replies
    2
    Views
    1,277

    newbie question about OpenGL

    Hello everyone,

    So far I have been maintaining some code that uses CUDA and there is a vanilla C++ version.

    Now, I would like to move everything to OpenCL and please correct me if I am wrong:
    ...
Results 1 to 13 of 15