GPU memory manager/linear algebra library