Skip to content
Snippets Groups Projects
Commit 208a8e21 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing membw for ratio 8:1

parent 67562782
No related branches found
No related tags found
No related merge requests found
Pipeline #4047 failed
......@@ -10,17 +10,17 @@ __global__ void translate_fill_prop_write(vector_type vd_out, vector_type2 vd_in
auto p = blockIdx.x * blockDim.x + threadIdx.x;
float a = vd_in.template get<0>(p)[0];
float b = vd_in.template get<0>(p)[1];
vd_out.template get<0>(p) = a + b;
vd_out.template get<0>(p) = a;
vd_out.template get<1>(p)[0] = a;
vd_out.template get<1>(p)[1] = b;
vd_out.template get<1>(p)[1] = a;
vd_out.template get<2>(p)[0][0] = a;
vd_out.template get<2>(p)[0][1] = b;
vd_out.template get<2>(p)[1][0] = a + b;
vd_out.template get<2>(p)[1][1] = b - a;
vd_out.template get<2>(p)[0][1] = a;
vd_out.template get<2>(p)[1][0] = a;
vd_out.template get<2>(p)[1][1] = a;
vd_in.template get<0>(p)[1] = a;
}
......@@ -39,8 +39,8 @@ __global__ void translate_fill_prop_read(vector_type vd_out, vector_type2 vd_in)
float f = vd_out.template get<2>(p)[1][0];
float g = vd_out.template get<2>(p)[1][1];
vd_in.template get<0>(p)[0] = a+b+c+d;
vd_in.template get<0>(p)[1] = e+f+g;
float h = vd_in.template get<0>(p)[0];
vd_in.template get<0>(p)[1] = a+b+c+d+e+f+g+h;
}
// Arrays
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment