Temporal Memoization for GPGPUs