Search:

Type: Posts; User: DelicateFrenesie

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,471

    Re: Recursion ia possible or not

    You can convert your recursive algorithm into an iterative one using a stack such as this implementation found on this forum : Link

    Also I was able to do it using the wikipedia article about...
  2. Replies
    3
    Views
    1,399

    Re: Kernel uses too much local data

    Thinking about it, it must be the inlined compiled kernel that use the local memory.
  3. Replies
    3
    Views
    1,399

    Re: Kernel uses too much local data

    This kernel code will compile :



    __private stack_class stack;
    init_stack( &stack );

    //__private stack_class stackEval;
    //init_stack( &stackEval );
  4. Replies
    3
    Views
    1,399

    Kernel uses too much local data

    Hi,
    I have converted a recursive algorithm into an iterative form using the stack implementation found in this forum thread :

    Stack Implementation

    Now I try to use the local memory to store...
  5. Replies
    7
    Views
    1,409

    Re: Local memory simple counter

    Thanks a lot for the detailed information.

    So to make sure I understand : when the work size is bigger than the CL_DEVICE_MAX_WORK_ITEM_SIZES, calling clEnqueueNDRangeKernel will generate many...
  6. Replies
    7
    Views
    1,409

    Re: Local memory simple counter

    I did changed the last condition of the example to (local changed to global) :



    if( 0 == get_global_id(0) )
  7. Replies
    7
    Views
    1,409

    Re: Local memory simple counter

    I saw yesterday that my example would work only with very small work size.

    If my work size is greater than the CL_DEVICE_MAX_WORK_ITEM_SIZES, does it means calling clEnqueueNDRangeKernel will...
  8. Replies
    7
    Views
    1,409

    Re: Local memory simple counter

    In fact, I am wondering if I should use GLSL or OpenCL to compute the reduction algorithm. When I use GLSL, I can read, for instance, 16 pixels per iteration from the global memory input and write...
  9. Replies
    7
    Views
    1,409

    Local memory simple counter

    Hi,
    I am trying to have the local memory working efficiently. Even if it is actually useless to do so, I count the number of work items using a single local variable.

    I am implementing something...
  10. Re: normalize( float4 ) precision errors

    It was due to a bad ordering of index when reading back the data.

    Everything is fine...

    Thanks.
  11. normalize( float4 ) precision errors

    Hi,
    I am using OpenGL's float Pixel Buffer Objects to compute normals, a pretty simple processing. I am getting normalization errors when I read back the data onto the CPU to validate everything...
  12. Re: Sampler 2D CLK_ADDRESS_REPEAT problem.

    Yeah, I should not use only the quick reference card!

    Thanks.
  13. Sampler 2D CLK_ADDRESS_REPEAT problem.

    Hi,
    It seems the CLK_ADDRESS_REPEAT will not work properly :



    const sampler_t sampler = CLK_NORMALIZED_COORDS_FALSE | CLK_FILTER_NEAREST | CLK_ADDRESS_REPEAT;


    With these sampler...
Results 1 to 13 of 14