Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/kalmar_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#include <cmath>
#include <stdexcept>

#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]];
Expand Down