205 AFAPI array
diff1(
const array& in,
int dim=-1);
212 AFAPI array
diff2(
const array& in,
int dim=-1);
231 AFAPI void grad(array& dcols, array& drows,
const array& in);
266 unsigned ndims_in ,
const unsigned *dims_in ,
271 unsigned ndims_in ,
const unsigned *dims_in ,
298 unsigned nx,
unsigned ny,
const bool *d_in,
302 unsigned nx,
unsigned ny,
const unsigned *d_in,
306 unsigned nx,
unsigned ny,
const int *d_in,
310 unsigned nx,
unsigned ny,
const float *d_in,
314 unsigned nx,
unsigned ny,
const double *d_in,
344 unsigned mA,
unsigned nA,
345 const float *d_A,
unsigned batch_A,
346 unsigned mB,
unsigned nB,
347 const float *d_B,
unsigned batch_B);
351 unsigned mA,
unsigned nA,
352 const float *d_A,
unsigned batch_A,
353 unsigned mB,
unsigned nB,
359 unsigned mA,
unsigned nA,
360 const cfloat *d_A,
unsigned batch_A,
361 unsigned mB,
unsigned nB,
362 const float *d_B,
unsigned batch_B);
366 unsigned mA,
unsigned nA,
367 const cfloat *d_A,
unsigned batch_A,
368 unsigned mB,
unsigned nB,
374 unsigned mA,
unsigned nA,
375 const float *d_A,
unsigned batch_A,
376 unsigned mB,
unsigned nB,
377 const double *d_B,
unsigned batch_B);
381 unsigned mA,
unsigned nA,
382 const float *d_A,
unsigned batch_A,
383 unsigned mB,
unsigned nB,
389 unsigned mA,
unsigned nA,
392 unsigned mB,
unsigned nB,
398 unsigned mA,
unsigned nA,
401 unsigned mB,
unsigned nB,
407 unsigned mA,
unsigned nA,
408 const double *d_A,
unsigned batch_A,
409 unsigned mB,
unsigned nB,
410 const float *d_B,
unsigned batch_B);
414 unsigned mA,
unsigned nA,
415 const double *d_A,
unsigned batch_A,
416 unsigned mB,
unsigned nB,
422 unsigned mA,
unsigned nA,
425 unsigned mB,
unsigned nB,
426 const float *d_B,
unsigned batch_B);
430 unsigned mA,
unsigned nA,
433 unsigned mB,
unsigned nB,
439 unsigned mA,
unsigned nA,
440 const double *d_A,
unsigned batch_A,
441 unsigned mB,
unsigned nB,
442 const double *d_B,
unsigned batch_B);
446 unsigned mA,
unsigned nA,
447 const double *d_A,
unsigned batch_A,
448 unsigned mB,
unsigned nB,
454 unsigned mA,
unsigned nA,
457 unsigned mB,
unsigned nB,
458 const double *d_B,
unsigned batch_B);
462 unsigned mA,
unsigned nA,
465 unsigned mB,
unsigned nB,
afError af_besseli_C(float *d_out, unsigned n, const float *d_in, float nu)
afError af_besselh_D(double *d_out, unsigned k, unsigned n, const double *d_in, double nu)
afError af_kronProd_CC(cfloat *d_C, unsigned mA, unsigned nA, const cfloat *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cfloat *d_B, unsigned batch_B)
Single Precision Kronecker Tensor Product - Complex x Complex.
afError af_kronProd_CS(cfloat *d_C, unsigned mA, unsigned nA, const cfloat *d_A, unsigned batch_A, unsigned mB, unsigned nB, const float *d_B, unsigned batch_B)
Single Precision Kronecker Tensor Product - Complex x Real.
afError af_bessely_Z(double *d_out, unsigned n, const double *d_in, double nu)
afError af_bessely_S(float *d_out, unsigned n, const float *d_in, float nu)
afError af_kronProd_DZ(cdouble *d_C, unsigned mA, unsigned nA, const double *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cdouble *d_B, unsigned batch_B)
Double Precision Kronecker Tensor Product - Real x Complex.
afError af_besselh_C(float *d_out, unsigned k, unsigned n, const float *d_in, float nu)
afError af_besselk_Z(double *d_out, unsigned n, const double *d_in, double nu)
array diff1(const array &in, int dim=-1)
afError af_diff_D(double *d_out, unsigned ndims_in, const unsigned *dims_in, const double *d_in, int order, int dim)
Double precision difference function.
void grad(array &dcols, array &drows, const array &in)
afError af_grad_U(unsigned *d_dx, unsigned *d_dy, unsigned nx, unsigned ny, const unsigned *d_in, unsigned batch)
Unsigned integer gradient function.
afError af_besselk_S(float *d_out, unsigned n, const float *d_in, float nu)
afError af_kronProd_DD(double *d_C, unsigned mA, unsigned nA, const double *d_A, unsigned batch_A, unsigned mB, unsigned nB, const double *d_B, unsigned batch_B)
Double Precision Kronecker Tensor Product - Real x Complex.
afError af_bessely_C(float *d_out, unsigned n, const float *d_in, float nu)
afError af_kronProd_ZD(cdouble *d_C, unsigned mA, unsigned nA, const cdouble *d_A, unsigned batch_A, unsigned mB, unsigned nB, const double *d_B, unsigned batch_B)
Double Precision Kronecker Tensor Product - Complex x Real.
afError af_besseli_S(float *d_out, unsigned n, const float *d_in, float nu)
afError af_besselk_D(double *d_out, unsigned n, const double *d_in, double nu)
afError
Definition: defines.h:10
afError af_kronProd_SC(cfloat *d_C, unsigned mA, unsigned nA, const float *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cfloat *d_B, unsigned batch_B)
Single Precision Kronecker Tensor Product - Real x Complex.
cuDoubleComplex cdouble
Definition: defines.h:109
afError af_besselk_C(float *d_out, unsigned n, const float *d_in, float nu)
afError af_kronProd_CD(cfloat *d_C, unsigned mA, unsigned nA, const cfloat *d_A, unsigned batch_A, unsigned mB, unsigned nB, const double *d_B, unsigned batch_B)
Kronecker Tensor Product - Single-precision Complex x Double-precision Real.
afError af_kronProd_ZZ(cdouble *d_C, unsigned mA, unsigned nA, const cdouble *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cdouble *d_B, unsigned batch_B)
Double Precision Kronecker Tensor Product - Complex x Complex.
afError af_kronProd_ZS(cfloat *d_C, unsigned mA, unsigned nA, const cdouble *d_A, unsigned batch_A, unsigned mB, unsigned nB, const float *d_B, unsigned batch_B)
Kronecker Tensor Product - Double-precision Complex x Single-precision Real.
afError af_besselj_Z(cdouble *d_out, unsigned n, const cdouble *d_in, double nu)
afError af_bessely_D(double *d_out, unsigned n, const double *d_in, double nu)
afError af_kronProd_ZC(cfloat *d_C, unsigned mA, unsigned nA, const cdouble *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cfloat *d_B, unsigned batch_B)
Kronecker Tensor Product - Double-precision Complex x Single-precision Complex.
afError af_kronProd_SZ(cfloat *d_C, unsigned mA, unsigned nA, const float *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cdouble *d_B, unsigned batch_B)
Kronecker Tensor Product - Single-precision Real x Double-precision Complex.
afError af_besseli_Z(double *d_out, unsigned n, const double *d_in, double nu)
afError af_grad_B(bool *d_dx, bool *d_dy, unsigned nx, unsigned ny, const bool *d_in, unsigned batch)
afError af_besselj_S(float *d_out, unsigned n, const float *d_in, float nu)
afError af_grad_D(double *d_dx, double *d_dy, unsigned nx, unsigned ny, const double *d_in, unsigned batch)
Double precision, floating point gradient function.
afError af_kronProd_DS(float *d_C, unsigned mA, unsigned nA, const double *d_A, unsigned batch_A, unsigned mB, unsigned nB, const float *d_B, unsigned batch_B)
Kronecker Tensor Product - Double-precision Real x Single-precision Real.
afError af_besselj_C(cfloat *d_out, unsigned n, const cfloat *d_in, float nu)
#define AFAPI
Definition: defines.h:45
afError af_kronProd_SS(float *d_C, unsigned mA, unsigned nA, const float *d_A, unsigned batch_A, unsigned mB, unsigned nB, const float *d_B, unsigned batch_B)
Single Precision Kronecker Tensor Product - Real x Real.
afError af_grad_S(float *d_dx, float *d_dy, unsigned nx, unsigned ny, const float *d_in, unsigned batch)
Single precision, floating point gradient function.
afError af_kronProd_DC(cfloat *d_C, unsigned mA, unsigned nA, const double *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cfloat *d_B, unsigned batch_B)
Kronecker Tensor Product - Double-precision Real x Single-precision Complex.
afError af_besselh_Z(double *d_out, unsigned k, unsigned n, const double *d_in, double nu)
afError af_kronProd_CZ(cfloat *d_C, unsigned mA, unsigned nA, const cfloat *d_A, unsigned batch_A, unsigned mB, unsigned nB, const cdouble *d_B, unsigned batch_B)
Kronecker Tensor Product - Single-precision Complex x Double-precision Complex.
afError af_kronProd_SD(float *d_C, unsigned mA, unsigned nA, const float *d_A, unsigned batch_A, unsigned mB, unsigned nB, const double *d_B, unsigned batch_B)
Kronecker Tensor Product - Single-precision Real x Double-precision Real.
afError af_besselj_D(double *d_out, unsigned n, const double *d_in, double nu)
afError af_besseli_D(double *d_out, unsigned n, const double *d_in, double nu)
afError af_besselh_S(float *d_out, unsigned k, unsigned n, const float *d_in, float nu)
cuFloatComplex cfloat
Definition: defines.h:108
afError af_diff_S(float *d_out, unsigned ndims_in, const unsigned *dims_in, const float *d_in, int order, int dim)
Single precision, difference function.
afError af_grad_I(int *d_dx, int *d_dy, unsigned nx, unsigned ny, const int *d_in, unsigned batch)
Integer gradient function.
array diff2(const array &in, int dim=-1)