Search:

Type: Posts; User: gkaran

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    970

    Re: Precision problem

    More news.

    When I target the CPU for the execution everything works great. The results are as expected and I get no segmentation faults. So what is the deference between running the OpenCL code in...
  2. Replies
    2
    Views
    970

    Re: Precision problem

    I also want to add a couple more things that I observed. After executing the above code (and also the two other kernels) inside the loop it always gives a segmentation fault in a specific point (even...
  3. Replies
    2
    Views
    970

    Precision problem

    Hi there, I have the following code that gives me a hard time.


    local_density = 0.0;
    for(kk = 0; kk < 9; kk++)
    {
    local_density += tmp_cells[pos].speeds[kk];
    }

    u_x...
  4. Replies
    5
    Views
    2,589

    Re: Floating point exception on simple kernel

    Yeah, the problem was with the clEnqueueNDRangeKernel call. The global work size was not divisible by the local work size.
  5. Replies
    5
    Views
    2,589

    Re: Floating point exception on simple kernel

    Problem solved. It had nothing to do with the kernel after all.
  6. Replies
    5
    Views
    2,589

    Floating point exception on simple kernel

    Hello everyone. I'm in my first steps with OpenCL and I have the following problem which I cannot understand at all why is happening.

    I have a simple kernel:


    #pragma OPENCL EXTENSION...
Results 1 to 6 of 8