• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include <utils.h>
2
3#define __CLC_SW_FUNC(x) __CLC_CONCAT(__clc_, x)
4
5// TODO: Enable half precision when the sw routine is implemented
6#if __CLC_FPSIZE > 16
7_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __CLC_FUNC(__CLC_GENTYPE x, __CLC_GENTYPE y) {
8  return __CLC_SW_FUNC(__CLC_FUNC)(x, y);
9}
10#endif
11
12#undef __CLC_SW_FUNC
13