enqueueWriteImage fail on GPU
问题 I am developing some kernels which works with image buffers. The problem is that when I create my Image2D by directly copying the data of the image, everything works well. If I try to enqueue a write to my image buffer, it won't works for my GPU. Here is a basic kernel : __kernel void myKernel(__read_only image2d_t in, __write_only image2d_t out) { const int x = get_global_id(0); const int y = get_global_id(1); const sampler_t sampler = CLK_NORMALIZED_COORDS_FALSE | CLK_CLAMP_TO_EDGE | CLK