This is a demo of computing cross-correlation between each two signals. I wrote the code below, but the memory usage of that with shared memory is the same as that without t