Use Local memory in kernel computations