diff options
Diffstat (limited to 'libclc/generic/include/clc/math/sqrt.h')
-rw-r--r-- | libclc/generic/include/clc/math/sqrt.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libclc/generic/include/clc/math/sqrt.h b/libclc/generic/include/clc/math/sqrt.h index f69de847e62..ccde9748adb 100644 --- a/libclc/generic/include/clc/math/sqrt.h +++ b/libclc/generic/include/clc/math/sqrt.h @@ -1,6 +1,3 @@ -#undef sqrt -#define sqrt __clc_sqrt - -#define __CLC_FUNCTION __clc_sqrt -#define __CLC_INTRINSIC "llvm.sqrt" -#include <clc/math/unary_intrin.inc> +#define __CLC_BODY <clc/math/sqrt.inc> +#include <clc/math/gentype.inc> +#undef __CLC_BODY |