cpu: allow complex logaddexp / atan2

This commit is contained in:
Yury Popov 2025-04-20 02:06:28 +03:00
parent c7e326bb44
commit e444e2cbc0
No known key found for this signature in database
GPG Key ID: 76DE18AD6634F257

View File

@ -172,9 +172,12 @@ void binary_float(
case bfloat16:
binary_op<bfloat16_t, Op>(a, b, out, bopt);
break;
case complex64:
binary_op<complex64_t, Op>(a, b, out, bopt);
break;
default:
throw std::runtime_error(
"[binary_float] Only supports non-complex floating point types.");
"[binary_float] Only supports floating point types.");
}
});
}