"...composable_kernel.git" did not exist on "992f71e3714e1d7ead7c0c70dc8fea8f5fb6c5c8"
Commit a0d36aea authored by Max Podkorytov's avatar Max Podkorytov
Browse files

delegate bhalf2 case to bhalf inner product

parent d6557188
......@@ -91,8 +91,9 @@ __device__ void inner_product<bhalf2_t, bhalf2_t, float>(const bhalf2_t& a, cons
const vector_type<bhalf_t, 2> b_vector{b};
static_for<0, 2, 1>{}([&](auto i) {
c += type_convert<float>(a_vector.AsType<bhalf_t>()[i]) *
type_convert<float>(b_vector.AsType<bhalf_t>()[i]);
inner_product(a_vector.AsType<bhalf_t>()[i],
b_vector.AsType<bhalf_t>()[i],
c);
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment