6 int len = atom*(hi-lo);
8 REAL32* x_ptr=&(
a->x_ptr[low]);
9 REAL32* y_ptr=&(
a->y_ptr[low]);
10 REAL32* z_ptr=&(
a->z_ptr[low]);
11 REAL32 a_re =
a->a_re;
12 REAL32 a_im =
a->a_im;
13 REAL64 norm_array[3]={0,0,0};
31 norm_array[0] += x_ptr[
count+1]*x_ptr[
count+1];
32 norm_array[0] += x_ptr[
count+2]*x_ptr[
count+2];
33 norm_array[0] += x_ptr[
count+3]*x_ptr[
count+3];
36 norm_array[1] += z_ptr[
count+1]*x_ptr[
count+1];
37 norm_array[1] += z_ptr[
count+2]*x_ptr[
count+2];
38 norm_array[1] += z_ptr[
count+3]*x_ptr[
count+3];
42 norm_array[2] += z_ptr[
count+2]*x_ptr[
count+3];
43 norm_array[2] -= z_ptr[
count+3]*x_ptr[
count+2];
46 a->norm_space[3*my_id]=norm_array[0];
47 a->norm_space[3*my_id+1]=norm_array[1];
48 a->norm_space[3*my_id+2]=norm_array[2];
51 QDPIO::cout <<
"ord_xmay_normx_cdotzx_kernel_generic.h: len not divisible by 4" << std::endl;
void ord_xmay_normx_cdotzx_kernel(int lo, int hi, int my_id, ord_xmay_normx_cdotzx_arg *a)