### geqrf basic question

Posted:

**Mon Jul 19, 2010 10:15 am**Hi, I'm new to CULA, can someone explain to me the parameters on Sgeqrf?

m - # of rows in A

n - # of columns in A

a - pointer to matrix A

Ida - leading dimension of A, so Ida = m?

tau - scalar factors of elementary reflectors??

So if I call culaSgeqrf(...), where does the output Q and R matrices get stored?

Another question, what's the difference between culaSgeqrf and culaDeviceSgeqrf? If I use culaDeviceSgeqrf, do I have to allocate memory space/copy memory to GPU, like CUDA?

Sorry for the silly questions, the CULA programming guide wasn't very beginner-friendly.

Thanks in advance!

m - # of rows in A

n - # of columns in A

a - pointer to matrix A

Ida - leading dimension of A, so Ida = m?

tau - scalar factors of elementary reflectors??

So if I call culaSgeqrf(...), where does the output Q and R matrices get stored?

Another question, what's the difference between culaSgeqrf and culaDeviceSgeqrf? If I use culaDeviceSgeqrf, do I have to allocate memory space/copy memory to GPU, like CUDA?

Sorry for the silly questions, the CULA programming guide wasn't very beginner-friendly.

Thanks in advance!