Handle memory management differently in sequential mode.
Handle memory management differently in sequential mode.

arbenson/fast-matmul,arbenson/fast-matmul,arbenson/fast-matmul,arbenson/fast-matmul,arbenson/fast-matmul