Vector array
-
void amd_vrda_sub(int len, const double *lhs, const double *rhs, double *dst)#
Computes elementwise difference for double arrays.
- Parameters:
len – Number of elements.
lhs – Left-hand array.
rhs – Right-hand array.
dst – Output array of differences.
-
void amd_vrsa_subf(int len, const float *lhs, const float *rhs, float *dst)#
Computes elementwise difference for float arrays.
- Parameters:
len – Number of elements.
lhs – Left-hand array.
rhs – Right-hand array.
dst – Output array of differences.
Indexed Arithmetic
-
void amd_vrda_subi(int len, const double *lhs, int inc_a, const double *rhs, int inc_b, double *dst, int inc_res)#
Computes elementwise difference with strides for double arrays.
- Parameters:
len – Number of elements.
lhs – Left-hand array.
inc_a – Stride for lhs (in elements).
rhs – Right-hand array.
inc_b – Stride for rhs (in elements).
dst – Output array.
inc_res – Stride for output (in elements).
-
void amd_vrsa_subfi(int len, const float *lhs, int inc_a, const float *rhs, int inc_b, float *dst, int inc_res)#
Computes elementwise difference with strides for float arrays.
- Parameters:
len – Number of elements.
lhs – Left-hand array.
inc_a – Stride for lhs (in elements).
rhs – Right-hand array.
inc_b – Stride for rhs (in elements).
dst – Output array.
inc_res – Stride for output (in elements).