Beispiel #1
0
int geqrf_buffer_size(handle_t handle, int m, int n, float* a, int lda)
{
  int buffer_size;
  check_error(cusolverDnSgeqrf_bufferSize(handle, m, n, a, lda, &buffer_size));

  return buffer_size;
}
Beispiel #2
0
		// cuSOLVER Overloaded Wrapper Functions ----------------------------------------------------------------------------------
		cusolverStatus_t cusolverDnXgeqrf_bufferSize(int m, int n, float *A, int lda, int *Lwork) {
			return cusolverDnSgeqrf_bufferSize(g_context->cusolverDnHandle, m, n, A, lda, Lwork);
		}