it seems to me the issue with imageAtomicCompSwap as detailed in this thread

has returned. All of my tests indicate that imageAtomicCompSwap does not write to the image (the return value seems to be ok though). The simplest way to reproduce the issue is to run the simple demo program provided in the thread above (

Additonal Infos: I'm running the latest Win 7, 64Bit, and my GPU is a ATI Radeon HD 5970