__kernel
void aggregate(
               const int            width,
               const int            height,
               __global float2*     numerator_dnominator,
               __global float *     output)
{
    const int i = get_global_id(0);
    const int j = get_global_id(1);

    if(i < width && j < height) {
        const int offset = j*width + i;
        float2 numDenom = numerator_dnominator[offset];
        
        if(numDenom.s1 > 0)
            output[offset] = numDenom.s0 / numDenom.s1;
    }
}
