if ( m == n ) {
dAT = dA;
lddat = ldda;
magmablas_dtranspose_inplace( m, dAT(0,0), lddat, queues[0] );
}
else {
lddat = maxn; // N-by-M
if (MAGMA_SUCCESS != magma_dmalloc( &dAT, lddat*maxm )) {
*info = MAGMA_ERR_DEVICE_ALLOC;
printf("line 191\n");
goto cleanup;
}
magmablas_dtranspose( m, n, dA(0,0), ldda, dAT(0,0), lddat, queues[0] );
}
magma_queue_sync( queues[0] ); // finish transpose
And the result is like that:
GPU0 memory: free=29520384, total=33290752
GPU1 memory: free=31187456, total=33290752
////
GPU0 memory: free=0 , total=0
GPU1 memory: free=0, total=0
I am using "cudaMemGetInfo( &free, &total )" for checking. Do you have any idea about things that are happening here?--
You received this message because you are subscribed to the Google Groups "MAGMA User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/120d0edc-5b95-4e40-b2a6-8c182c8756f2n%40icl.utk.edu.