We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
approx.h
1 parent 1611258 commit c44c6edCopy full SHA for c44c6ed
include/kernel_float/approx.h
@@ -304,13 +304,13 @@ KERNEL_FLOAT_DEVICE bfloat16x2_t normalize_trig_input(bfloat16x2_t x) {
304
template<int Iter>
305
KERNEL_FLOAT_DEVICE bfloat16x2_t cos(bfloat16x2_t x) {
306
bfloat16x2_t xf = normalize_trig_input(x);
307
- return cos_poly<__bfloat16, Iter + 1>::call(__hmul2(xf, xf));
+ return cos_poly<bfloat16_t, Iter + 1>::call(__hmul2(xf, xf));
308
}
309
310
311
KERNEL_FLOAT_DEVICE bfloat16x2_t sin(bfloat16x2_t x) {
312
313
- return __hmul2(sin_poly<__bfloat16, Iter>::call(__hmul2(xf, xf)), xf);
+ return __hmul2(sin_poly<bfloat16_t, Iter>::call(__hmul2(xf, xf)), xf);
314
315
316
0 commit comments