MAGMA is using variable stack allocations, like this (in zunmqr.cpp)
magma_int_t nb = magma_get_zgeqrf_nb( min( m, n ));
...
cuDoubleComplex T[ 2*nb*nb ];
The Microsoft compiler throws an error while trying to compile this code:
zunmqr.cpp(124) : error C2057: expected constant expression
zunmqr.cpp(124) : error C2466: cannot allocate an array of constant size 0
zunmqr.cpp(124) : error C2133: 'T' : unknown size
I could fix this and get on my way, but I though it would better to report this and have it fixed officially, as it will cause other people problems when they build MAGMA on Windows. Even if I could get a Windows compiler to support this (I doubt I can, nvcc is tied to cl), there is still the issue of potentially blowing out the stack at run time...
Regards,
Tom