Compute cached

I have a couple more things to do, but I think it is worth starting the review process on the new memoize scheduling directive.
I think this should be 1, to support zero-dimensional buffers.