36 using supports_sg_loadstore =
typename std::true_type;
37 using supports_vec =
typename std::false_type;
39 resT operator()(
const argT1 &in1,
const argT2 &in2)
const
41 static_assert(std::is_same_v<argT1, argT2>,
42 "Input types are expected to be the same");
44 if (in1 == 0 || in2 == 0)
47 resT res = in1 / oneapi::dpl::gcd(in1, in2) * in2;
48 if constexpr (std::is_signed_v<argT1>) {