Dot product: Device pointer interface |
- Parameters:
-
[out] | h_res | The output. (Host pointer); |
[in] | len | The length of the vectors |
[in] | d_A | Device pointer to the first vector |
[in] | d_B | Device pointer to the second vector |
|
afError | af_inner_S (float *h_res, unsigned len, const float *d_A, const float *d_B) |
afError | af_inner_D (double *h_res, unsigned len, const double *d_A, const double *d_B) |
afError | af_inner_C (cuComplex *h_res, unsigned len, const cuComplex *d_A, const cuComplex *d_B) |
afError | af_inner_Z (cuDoubleComplex *h_res, unsigned len, const cuDoubleComplex *d_A, const cuDoubleComplex *d_B) |