set local_mem_size to lvl1 cache size