Closed wentasah closed 5 years ago
When calculating with ComplexMat, temporary results are stored in temporarily allocated memory. This significantly degrades performance, because allocating page-locked memory is implicit GPU-CPU synchronization point.
Perhaps, we should implement a memory manager that will allow reusing previously allocated memory, which is no longer needed.
This is implemented in 93502b823a0d73c5dd36f31261d4dd377ad09e08.
When calculating with ComplexMat, temporary results are stored in temporarily allocated memory. This significantly degrades performance, because allocating page-locked memory is implicit GPU-CPU synchronization point.