Skip to content

Commit c44c6ed

Browse files
committed
Fix incorrect type name in approx.h
1 parent 1611258 commit c44c6ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/kernel_float/approx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,13 @@ KERNEL_FLOAT_DEVICE bfloat16x2_t normalize_trig_input(bfloat16x2_t x) {
304304
template<int Iter>
305305
KERNEL_FLOAT_DEVICE bfloat16x2_t cos(bfloat16x2_t x) {
306306
bfloat16x2_t xf = normalize_trig_input(x);
307-
return cos_poly<__bfloat16, Iter + 1>::call(__hmul2(xf, xf));
307+
return cos_poly<bfloat16_t, Iter + 1>::call(__hmul2(xf, xf));
308308
}
309309

310310
template<int Iter>
311311
KERNEL_FLOAT_DEVICE bfloat16x2_t sin(bfloat16x2_t x) {
312312
bfloat16x2_t xf = normalize_trig_input(x);
313-
return __hmul2(sin_poly<__bfloat16, Iter>::call(__hmul2(xf, xf)), xf);
313+
return __hmul2(sin_poly<bfloat16_t, Iter>::call(__hmul2(xf, xf)), xf);
314314
}
315315

316316
template<int Iter>

0 commit comments

Comments
 (0)