cuSolver cusolverDnSgeqrf work space Memory requirements CUDA 7.0 vs CUDA 8.0

Dear all,

I have been working with the dense cusolver library in order to solve a huge linear system through QR decomposition. Recently I updated both my linux system and the cuda libraries from ubuntu 14.04 to 16.04 and cuda 7 to cuda 8. I have found that with the cuda 8 library the memory space required to solve my systems of equations have increased a lot and now I have not enough space to solve them. Specifically now the function cusolverDnSgeqrf_bufferSize returns a value for the work size much bigger than before the update and therefore I do not have enough memory to allocate the required working space. My question is if there is any way to control the working space so that it requires the same amount that it did in cuda 7.

Thanks for your help.

Note the gcc compiler have been also update from 4.8 to the newest 5.xx version.