Allocate enough shared memory for the caching algorithm, and break my CUDA 1.2 setup