View Full Version : The most bizarre error

08-29-2012, 12:07 PM

I built my code in my CPU that have AMD SDK.

But, i have to run my application in a GPU. And here in my College the GPU is a Nvidia GTX 560.

The new code that i built don't works, showing CL_OUT_OF_HOST_MEMORY error.

So, i grabbed an old version of my code, that at first works fine (But is outdated than i have to do).

When i insert a blank space in any part of my code, this error occurs.
For instance,
int a; //Works fine.
int __a; //CL_OUT_OF_HOST_MEMORY occurs.

Note: Consider '_' being a blank space. The forum excluded a blank space that i put.

Thanks for any help,

09-19-2012, 06:59 AM
The NVIDIA drivers cache kernels they've seen before, and I've definitely come across bugs in the caching before (mostly with #include). It might be that adding/removing the space affects whether you're hitting a stale cache entry. You can try whacking your cache to see if it changes things. On Linux the cache is in $HOME/.nv/ComputeCache - not sure where it lives on other OSes.