Do more. Code less. Free software for GPU computing.
<scroll to top>

Matrix Transpose

Matrix manipulation

Transpose of the input matrix. More...

Device pointer inteface: Conjugate transpose

Transpose and complex-conjugate transpose of matrices with optional batching.
Parameters:
[out]d_outTransposed matrix.
[in]wRows of input (first dimension); columns of output (second dimension).
[in]hColumns of input (second dimension); rows of output (first dimension).
[in]d_inOriginal matrix.
[in]batchNumber of matrix tiles.

afError af_ctranspose_C (cuComplex *d_out, unsigned w, unsigned h, const cuComplex *d_in, unsigned batch)
 Single-precision complex-conjugate transpose.
afError af_ctranspose_Z (cuDoubleComplex *d_out, unsigned w, unsigned h, const cuDoubleComplex *d_in, unsigned batch)
 Double-precision complex-conjugate transpose.

Device pointer interface: Non conjugate transpose

Transpose of the input matrix without performing the conjugate.
afError af_transpose_B (bool *d_out, unsigned w, unsigned h, const bool *d_in, unsigned batch)
 Boolean (8-bit) transpose (non-conjugated).
afError af_transpose_I (int *d_out, unsigned w, unsigned h, const int *d_in, unsigned batch)
 32-bit integer transpose.
afError af_transpose_U (unsigned *d_out, unsigned w, unsigned h, const unsigned *d_in, unsigned batch)
 32-bit unsigned integer transpose.
afError af_transpose_S (float *d_out, unsigned w, unsigned h, const float *d_in, unsigned batch)
 Single-precision transpose (non-conjugated).
afError af_transpose_D (double *d_out, unsigned w, unsigned h, const double *d_in, unsigned batch)
 Double-precision transpose (non-conjugated).
afError af_transpose_C (cuComplex *d_out, unsigned w, unsigned h, const cuComplex *d_in, unsigned batch)
 Complex single-precision transpose (non-conjugated).
afError af_transpose_Z (cuDoubleComplex *d_out, unsigned w, unsigned h, const cuDoubleComplex *d_in, unsigned batch)
 Complex double-precision transpose (non-conjugated).

Detailed Description

Transpose of the input matrix.


Function Documentation

afError af_ctranspose_C ( cuComplex *  d_out,
unsigned  w,
unsigned  h,
const cuComplex *  d_in,
unsigned  batch 
)

Single-precision complex-conjugate transpose.

afError af_ctranspose_Z ( cuDoubleComplex *  d_out,
unsigned  w,
unsigned  h,
const cuDoubleComplex *  d_in,
unsigned  batch 
)

Double-precision complex-conjugate transpose.

afError af_transpose_B ( bool *  d_out,
unsigned  w,
unsigned  h,
const bool *  d_in,
unsigned  batch 
)

Boolean (8-bit) transpose (non-conjugated).

afError af_transpose_I ( int *  d_out,
unsigned  w,
unsigned  h,
const int *  d_in,
unsigned  batch 
)

32-bit integer transpose.

afError af_transpose_U ( unsigned *  d_out,
unsigned  w,
unsigned  h,
const unsigned *  d_in,
unsigned  batch 
)

32-bit unsigned integer transpose.

afError af_transpose_S ( float *  d_out,
unsigned  w,
unsigned  h,
const float *  d_in,
unsigned  batch 
)

Single-precision transpose (non-conjugated).

afError af_transpose_D ( double *  d_out,
unsigned  w,
unsigned  h,
const double *  d_in,
unsigned  batch 
)

Double-precision transpose (non-conjugated).

afError af_transpose_C ( cuComplex *  d_out,
unsigned  w,
unsigned  h,
const cuComplex *  d_in,
unsigned  batch 
)

Complex single-precision transpose (non-conjugated).

afError af_transpose_Z ( cuDoubleComplex *  d_out,
unsigned  w,
unsigned  h,
const cuDoubleComplex *  d_in,
unsigned  batch 
)

Complex double-precision transpose (non-conjugated).

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines