PLASMA_dsyev and PLASMA_desc struct

Open forum for general discussions relating to PLASMA.

PLASMA_dsyev and PLASMA_desc struct

Postby jgpallero » Sat Jul 28, 2012 12:27 pm

Hello:

I'm a new user of PLASMA and I'm doing some tests. I'm tryng to use in C the PLASMA_dsyev routine and I have some questions.

First of all, I create and use the PLASMA_desc struct as in:

Code: Select all
PLASMA_desc* descT=NULL;
PLASMA_Alloc_Workspace_dsyev(N,N,&descT);
PLASMA_dsyev(jobz,uplo,N,A,lda,W,descT,Q,ldq);


Is this the correct way, declaring descT as a simple pointer and passing it to the alloc function as &descT and to PLASMA_dsyev as descT?

And second, at the time to deallocate descT I see in plasma.h two functions: PLASMA_Dealloc_Handle(void** handle) and PLASMA_Dealloc_Handle_Tile(PLASMA_desc** handle). Which should I use?

Thanks
jgpallero
 
Posts: 29
Joined: Sat Jul 28, 2012 12:12 pm

Return to User discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron