diff --git a/include/kalmar_math.h b/include/kalmar_math.h index 21fc8729239..d2ca4f9dc17 100644 --- a/include/kalmar_math.h +++ b/include/kalmar_math.h @@ -10,6 +10,10 @@ #include #include +#ifdef __PPC64__ +#define _Float16 __fp16 +#endif + extern "C" _Float16 __ocml_acos_f16(_Float16 x) [[hc]]; extern "C" float __ocml_acos_f32(float x) [[hc]]; extern "C" double __ocml_acos_f64(double x) [[hc]];