I have two kernels. One of them writes (only) some image. Other - only reads it. Host has no business here. Is there any possibility to switch image access mode from read_only to write_only without image destruction/recreation between different kernel executions? I know, that I should better use read_write or even buffers for such tasks, but performance level is important - I want to use cache if there is any possibility to speed up the code with it here.
Thank you. By the way, where could I find information about exact cache dependancies on specified kernel qualifiers and image flags? Also, can't find the new AMD APP OCL Programming Guide (august revision - the last one?).