device kernel image is invalid.

Hi All -

I have a linux installation with Cuda 4.1 installed, I was compiling and running programs using the 4.1 compiler but the performance was significantly degraded compared to 3.2. So I installed the 3.2 compiler and recompiled my code with that. However now when I try to run it I get an error: “device kernel image is invalid.”

Does anyone know what this means or how to correct it?