All of lore.kernel.org
 help / color / mirror / Atom feed
* Vivante OpenCL Examples Source
@ 2013-05-31  3:10 Sébastien Taylor
  2013-05-31  5:34 ` Sébastien Taylor
  0 siblings, 1 reply; 15+ messages in thread
From: Sébastien Taylor @ 2013-05-31  3:10 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

I am unable to find the source code for the Vivante SDK OpenCL samples.  I am having issues with the most basic of kernels failing to build with the error CL_BUILD_PROGRAM_FAILURE and clGetProgramBuildInfo with CL_PROGRAM_BUILD_LOG is returning an empty string.  I have tested this code against the Mac OpenCL Framework and it works correctly, to my knowledge I am not using any unsupported features for the Embedded Profile.  Are there any known issues with the Vivante CL compiler completely failing to return error logs?  I've included the basic .cl which is failing to compile.


const sampler_t sampler = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST;

__kernel void copy(__read_only image2d_t sourceImage,
                   __write_only image2d_t targetImage,
                   const uint width, const uint height)
{
    const uint gx = get_global_id(0);
    const uint gy = get_global_id(1);
    
    if (gx >= width || gy >= height)
        return;
    
    int2 imageuv = (int2)(gx, gy);
    float4 pixel = read_imagef(sourceImage, sampler, imageuv);
    write_imagef(targetImage, imageuv, pixel);
}



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-07-18  1:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31  3:10 Vivante OpenCL Examples Source Sébastien Taylor
2013-05-31  5:34 ` Sébastien Taylor
2013-05-31 17:28   ` Sébastien Taylor
2013-05-31 18:13     ` Otavio Salvador
2013-06-02 19:44       ` Sébastien Taylor
2013-06-03 11:08         ` Otavio Salvador
2013-06-03 13:23         ` Daiane Angolini
2013-06-17 15:33           ` Sébastien Taylor
2013-06-20 21:53             ` Otavio Salvador
2013-06-25 15:26               ` Sébastien Taylor
2013-07-12 13:44                 ` Otavio Salvador
2013-07-15 22:36                   ` Sébastien Taylor
2013-07-15 22:47                     ` Otavio Salvador
2013-07-16 17:40                       ` Sébastien Taylor
2013-07-18  1:41                         ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.