Search:

Type: Posts; User: DP007

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,369

    anonymous_jit_identity exception

    Hey,

    I got a anonymous_jit_identity exception when building my program. In my kernel I use one function that I use twice. If I comment out one function call, the excpetion disappears...Someone...
  2. Replies
    2
    Views
    2,904

    Re: Dynamically allocated shared memory

    Thanks very much!!!
  3. Replies
    2
    Views
    2,904

    Dynamically allocated shared memory

    Hi,

    I just wondered if there is a possibility to allocate shared mem in opencl dynamically like in CUDA. Maybe someone can help me.

    Thanks in advance.
    Daniel
  4. Replies
    1
    Views
    2,054

    Copying memory of zero size

    Hi,

    I have a kernel that gets some lightsource arrays as input parameters (directional, point and spot). The number of each light source array could also be 0. If the size is zero, I get an error...
  5. Replies
    6
    Views
    5,040

    Re: OpenCL error at clEnqueueReadBuffer

    Hi,

    this is my test kernel code:


    __kernel void
    calc_triangle_mapping(__global const Mesh* mesh, __global Triangle* triangles,
    const int res_x, const int res_y, __global int*...
  6. Replies
    6
    Views
    5,040

    Re: OpenCL error at clEnqueueReadBuffer

    Hi,

    I tried to copy a few lines of the working code, doing some adds and assignments, and after a few copied lines the copy process fails again. So there isn't any error or exception in the cl...
  7. Replies
    6
    Views
    5,040

    Re: OpenCL error at clEnqueueReadBuffer

    The thing is, I didn't make any array write operations on the device mem I try to copy later to the CPU. If I comment the following lines out it works:

    middle.x = round(middle.x * (res_x-1));...
  8. Replies
    6
    Views
    5,040

    Re: OpenCL error at clEnqueueReadBuffer

    Ah, thanks. Is there a way to emulate the kernel on the CPU like in CUDA? Or do I have to write my own CPU-function for testing?
  9. Replies
    6
    Views
    5,040

    OpenCL error at clEnqueueReadBuffer

    Hi,

    my program crashes when I try to call clEnqueueReadBuffer() to read data from the device. If I comment some lines out of the cl file, the copy process finishs successfully. But there aren't...
Results 1 to 9 of 15