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
