cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

y06480509
Journeyman III

Why writeimagef so slow

my code is work on opencl and d3d9 interop,

in kernel use write_imagef is cost 4ms to write image data?

the code:

        AllVal = (mul24(val, iInvWeight ) + mul24(v2Val, iWeight))>>11;

      write_imagef(image, id, convert_float4(AllVal )/(float4)255.0);

how do i to optimize my code?thank you !!

0 Likes
0 Replies