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

Cross Product

Algebra

Cross Product: Computes cross product of vectors in A, B. More...

Device pointer interface : Cross Product

Parameters:
d_COutput Matrix
numelNumber of elements in input matrices A,B
offsetStride required to access next element of vectors
d_ALeft Input Matrix
batch_ANumber of tiles in matrix A
batch_BNumber of tiles in matrix B

afError af_crossProd_SS (float *d_C, unsigned numel, unsigned offset, const float *d_A, unsigned batch_A, const float *d_B, unsigned batch_B)
 Single Precision Cross Product - Real x Real.
afError af_crossProd_SC (cuComplex *d_C, unsigned numel, unsigned offset, const float *d_A, unsigned batch_A, const cuComplex *d_B, unsigned batch_B)
 Single Precision Cross Product - Real x Complex.
afError af_crossProd_CS (cuComplex *d_C, unsigned numel, unsigned offset, const cuComplex *d_A, unsigned batch_A, const float *d_B, unsigned batch_B)
 Single Precision Cross Product - Complex x Real.
afError af_crossProd_CC (cuComplex *d_C, unsigned numel, unsigned offset, const cuComplex *d_A, unsigned batch_A, const cuComplex *d_B, unsigned batch_B)
 Single Precision Cross Product - Complex x Complex.
afError af_crossProd_SD (float *d_C, unsigned numel, unsigned offset, const float *d_A, unsigned batch_A, const double *d_B, unsigned batch_B)
 Cross Product - Single-precision Real x Double-precision Real.
afError af_crossProd_SZ (cuComplex *d_C, unsigned numel, unsigned offset, const float *d_A, unsigned batch_A, const cuDoubleComplex *d_B, unsigned batch_B)
 Cross Product - Single-precision Real x Double-precision Complex.
afError af_crossProd_CD (cuComplex *d_C, unsigned numel, unsigned offset, const cuComplex *d_A, unsigned batch_A, const double *d_B, unsigned batch_B)
 Cross Product - Single-precision Complex x Double-precision Real.
afError af_crossProd_CZ (cuComplex *d_C, unsigned numel, unsigned offset, const cuComplex *d_A, unsigned batch_A, const cuDoubleComplex *d_B, unsigned batch_B)
 Cross Product - Single-precision Complex x Double-precision Complex.
afError af_crossProd_DS (float *d_C, unsigned numel, unsigned offset, const double *d_A, unsigned batch_A, const float *d_B, unsigned batch_B)
 Cross Product - Double-precision Real x Single-precision Real.
afError af_crossProd_DC (cuComplex *d_C, unsigned numel, unsigned offset, const double *d_A, unsigned batch_A, const cuComplex *d_B, unsigned batch_B)
 Cross Product - Double-precision Real x Single-precision Complex.
afError af_crossProd_ZS (cuComplex *d_C, unsigned numel, unsigned offset, const cuDoubleComplex *d_A, unsigned batch_A, const float *d_B, unsigned batch_B)
 Cross Product - Double-precision Complex x Single-precision Real.
afError af_crossProd_ZC (cuComplex *d_C, unsigned numel, unsigned offset, const cuDoubleComplex *d_A, unsigned batch_A, const cuComplex *d_B, unsigned batch_B)
 Cross Product - Double-precision Complex x Single-precision Complex.
afError af_crossProd_DD (double *d_C, unsigned numel, unsigned offset, const double *d_A, unsigned batch_A, const double *d_B, unsigned batch_B)
 Double Precision Cross Product - Real x Real.
afError af_crossProd_DZ (cuDoubleComplex *d_C, unsigned numel, unsigned offset, const double *d_A, unsigned batch_A, const cuDoubleComplex *d_B, unsigned batch_B)
 Double Precision Cross Product - Real x Complex.
afError af_crossProd_ZD (cuDoubleComplex *d_C, unsigned numel, unsigned offset, const cuDoubleComplex *d_A, unsigned batch_A, const double *d_B, unsigned batch_B)
 Double Precision Cross Product - Complex x Real.
afError af_crossProd_ZZ (cuDoubleComplex *d_C, unsigned numel, unsigned offset, const cuDoubleComplex *d_A, unsigned batch_A, const cuDoubleComplex *d_B, unsigned batch_B)
 Double Precision Cross Product - Complex x Complex.

Detailed Description

Cross Product: Computes cross product of vectors in A, B.


Function Documentation

afError af_crossProd_SS ( float *  d_C,
unsigned  numel,
unsigned  offset,
const float *  d_A,
unsigned  batch_A,
const float *  d_B,
unsigned  batch_B 
)

Single Precision Cross Product - Real x Real.

afError af_crossProd_SC ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const float *  d_A,
unsigned  batch_A,
const cuComplex *  d_B,
unsigned  batch_B 
)

Single Precision Cross Product - Real x Complex.

afError af_crossProd_CS ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuComplex *  d_A,
unsigned  batch_A,
const float *  d_B,
unsigned  batch_B 
)

Single Precision Cross Product - Complex x Real.

afError af_crossProd_CC ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuComplex *  d_A,
unsigned  batch_A,
const cuComplex *  d_B,
unsigned  batch_B 
)

Single Precision Cross Product - Complex x Complex.

afError af_crossProd_SD ( float *  d_C,
unsigned  numel,
unsigned  offset,
const float *  d_A,
unsigned  batch_A,
const double *  d_B,
unsigned  batch_B 
)

Cross Product - Single-precision Real x Double-precision Real.

afError af_crossProd_SZ ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const float *  d_A,
unsigned  batch_A,
const cuDoubleComplex *  d_B,
unsigned  batch_B 
)

Cross Product - Single-precision Real x Double-precision Complex.

afError af_crossProd_CD ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuComplex *  d_A,
unsigned  batch_A,
const double *  d_B,
unsigned  batch_B 
)

Cross Product - Single-precision Complex x Double-precision Real.

afError af_crossProd_CZ ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuComplex *  d_A,
unsigned  batch_A,
const cuDoubleComplex *  d_B,
unsigned  batch_B 
)

Cross Product - Single-precision Complex x Double-precision Complex.

afError af_crossProd_DS ( float *  d_C,
unsigned  numel,
unsigned  offset,
const double *  d_A,
unsigned  batch_A,
const float *  d_B,
unsigned  batch_B 
)

Cross Product - Double-precision Real x Single-precision Real.

afError af_crossProd_DC ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const double *  d_A,
unsigned  batch_A,
const cuComplex *  d_B,
unsigned  batch_B 
)

Cross Product - Double-precision Real x Single-precision Complex.

afError af_crossProd_ZS ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuDoubleComplex *  d_A,
unsigned  batch_A,
const float *  d_B,
unsigned  batch_B 
)

Cross Product - Double-precision Complex x Single-precision Real.

afError af_crossProd_ZC ( cuComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuDoubleComplex *  d_A,
unsigned  batch_A,
const cuComplex *  d_B,
unsigned  batch_B 
)

Cross Product - Double-precision Complex x Single-precision Complex.

afError af_crossProd_DD ( double *  d_C,
unsigned  numel,
unsigned  offset,
const double *  d_A,
unsigned  batch_A,
const double *  d_B,
unsigned  batch_B 
)

Double Precision Cross Product - Real x Real.

afError af_crossProd_DZ ( cuDoubleComplex *  d_C,
unsigned  numel,
unsigned  offset,
const double *  d_A,
unsigned  batch_A,
const cuDoubleComplex *  d_B,
unsigned  batch_B 
)

Double Precision Cross Product - Real x Complex.

afError af_crossProd_ZD ( cuDoubleComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuDoubleComplex *  d_A,
unsigned  batch_A,
const double *  d_B,
unsigned  batch_B 
)

Double Precision Cross Product - Complex x Real.

afError af_crossProd_ZZ ( cuDoubleComplex *  d_C,
unsigned  numel,
unsigned  offset,
const cuDoubleComplex *  d_A,
unsigned  batch_A,
const cuDoubleComplex *  d_B,
unsigned  batch_B 
)

Double Precision Cross Product - Complex x Complex.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines