#include "BSprivate.h" /*+ BSpar_bip - Inner products on several vectors at once Input Parameters: . num_cols - the length of the vectors . vec1 - the first block of contiguous vectors . vec2 - the second block of contiguous vectors . nBS - the number of vectors . procinfo - the usual processor stuff Output Parameters: . result - the result of each inner product (length nBS) Returns: void +*/ void BSpar_bip(int num_cols, FLOAT *vec1, FLOAT *vec2, int nBS, FLOAT *result, BSprocinfo *procinfo) { int i, j; FLOAT t; FLOAT *t_vec1, *t_vec2; FLOAT *work; /* compute my contribution to the IP */ t_vec1 = vec1; t_vec2 = vec2; for (j=0;jprocset); MY_FREE(work); MLOG_flop((2*nBS*num_cols)); }