MAGMA  magma-1.4.0
Matrix Algebra on GPU and Multicore Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
transpose.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define magmablas_sgetmo_in(dA, dAT, ldda, m, n)
 
#define magmablas_sgetmo_out(dA, dAT, ldda, m, n)
 
#define magmablas_dgetmo_in(dA, dAT, ldda, m, n)
 
#define magmablas_dgetmo_out(dA, dAT, ldda, m, n)
 
#define magmablas_cgetmo_in(dA, dAT, ldda, m, n)
 
#define magmablas_cgetmo_out(dA, dAT, ldda, m, n)
 
#define magmablas_zgetmo_in(dA, dAT, ldda, m, n)
 
#define magmablas_zgetmo_out(dA, dAT, ldda, m, n)
 

Macro Definition Documentation

#define magmablas_cgetmo_in (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
dAT = dA; \
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
cublasStatus_t status = cublasAlloc( (m)*(n), sizeof(magmaFloatComplex), (void**)&dAT); \
if (status != CUBLAS_STATUS_SUCCESS) \
return -7; \
magmablas_ctranspose2( dAT, ldda, dA, ldda, m, n ); \
}
void magmablas_ctranspose2(magmaFloatComplex_ptr odata, magma_int_t ldo, magmaFloatComplex_const_ptr idata, magma_int_t ldi, magma_int_t m, magma_int_t n)
#define dAT(i, j)
void magmablas_ctranspose_inplace(magma_int_t n, magmaFloatComplex_ptr dA, magma_int_t ldda)
#define dA(dev, i, j)

Definition at line 55 of file transpose.h.

#define magmablas_cgetmo_out (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
magmablas_ctranspose2( dA, ldda, dAT, ldda, n, m ); \
cublasFree(dAT); \
}
void magmablas_ctranspose2(magmaFloatComplex_ptr odata, magma_int_t ldo, magmaFloatComplex_const_ptr idata, magma_int_t ldi, magma_int_t m, magma_int_t n)
#define dAT(i, j)
void magmablas_ctranspose_inplace(magma_int_t n, magmaFloatComplex_ptr dA, magma_int_t ldda)
#define dA(dev, i, j)

Definition at line 66 of file transpose.h.

#define magmablas_dgetmo_in (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
dAT = dA; \
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
cublasStatus_t status = cublasAlloc( (m)*(n), sizeof(double), (void**)&dAT); \
if (status != CUBLAS_STATUS_SUCCESS) \
return -7; \
magmablas_dtranspose2( dAT, ldda, dA, ldda, m, n ); \
}
void magmablas_dtranspose_inplace(magma_int_t n, magmaDouble_ptr dA, magma_int_t ldda)
#define dAT(i, j)
void magmablas_dtranspose2(magmaDouble_ptr odata, magma_int_t ldo, magmaDouble_const_ptr idata, magma_int_t ldi, magma_int_t m, magma_int_t n)
#define dA(dev, i, j)

Definition at line 36 of file transpose.h.

#define magmablas_dgetmo_out (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
magmablas_dtranspose2( dA, ldda, dAT, ldda, n, m ); \
cublasFree(dAT); \
}
void magmablas_dtranspose_inplace(magma_int_t n, magmaDouble_ptr dA, magma_int_t ldda)
#define dAT(i, j)
void magmablas_dtranspose2(magmaDouble_ptr odata, magma_int_t ldo, magmaDouble_const_ptr idata, magma_int_t ldi, magma_int_t m, magma_int_t n)
#define dA(dev, i, j)

Definition at line 47 of file transpose.h.

#define magmablas_sgetmo_in (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
dAT = dA; \
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
cublasStatus_t status = cublasAlloc( (m)*(n), sizeof(float), (void**)&dAT); \
if (status != CUBLAS_STATUS_SUCCESS) \
return -7; \
magmablas_stranspose2( dAT, ldda, dA, ldda, m, n ); \
}
#define dAT(i, j)
void magmablas_stranspose2(magmaFloat_ptr odata, magma_int_t ldo, magmaFloat_const_ptr idata, magma_int_t ldi, magma_int_t m, magma_int_t n)
void magmablas_stranspose_inplace(magma_int_t n, magmaFloat_ptr dA, magma_int_t ldda)
#define dA(dev, i, j)

Definition at line 17 of file transpose.h.

#define magmablas_sgetmo_out (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
magmablas_stranspose2( dA, ldda, dAT, ldda, n, m ); \
cublasFree(dAT); \
}
#define dAT(i, j)
void magmablas_stranspose2(magmaFloat_ptr odata, magma_int_t ldo, magmaFloat_const_ptr idata, magma_int_t ldi, magma_int_t m, magma_int_t n)
void magmablas_stranspose_inplace(magma_int_t n, magmaFloat_ptr dA, magma_int_t ldda)
#define dA(dev, i, j)

Definition at line 28 of file transpose.h.

#define magmablas_zgetmo_in (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
dAT = dA; \
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
cublasStatus_t status = cublasAlloc( (m)*(n), sizeof(magmaDoubleComplex), (void**)&dAT); \
if (status != CUBLAS_STATUS_SUCCESS) \
return -7; \
magmablas_ztranspose2( dAT, ldda, dA, ldda, m, n ); \
}
#define dAT(i, j)
void magmablas_ztranspose_inplace(magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda)
void magmablas_ztranspose2(cuDoubleComplex *, magma_int_t, cuDoubleComplex *, magma_int_t, magma_int_t, magma_int_t)
#define dA(dev, i, j)

Definition at line 74 of file transpose.h.

#define magmablas_zgetmo_out (   dA,
  dAT,
  ldda,
  m,
 
)
Value:
if ( ( (m) == (n) ) && ( (m)%32 == 0) && ( (ldda)%32 == 0) ){ \
} else { \
magmablas_ztranspose2( dA, ldda, dAT, ldda, n, m ); \
cublasFree(dAT); \
}
#define dAT(i, j)
void magmablas_ztranspose_inplace(magma_int_t n, magmaDoubleComplex_ptr dA, magma_int_t ldda)
void magmablas_ztranspose2(cuDoubleComplex *, magma_int_t, cuDoubleComplex *, magma_int_t, magma_int_t, magma_int_t)
#define dA(dev, i, j)

Definition at line 85 of file transpose.h.