diff options
Diffstat (limited to 'libclc')
| -rw-r--r-- | libclc/generic/include/clc/clc.h | 1 | ||||
| -rw-r--r-- | libclc/generic/include/clc/math/native_recip.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h index a93c8ef3206..9c0e00c4215 100644 --- a/libclc/generic/include/clc/clc.h +++ b/libclc/generic/include/clc/clc.h @@ -106,6 +106,7 @@ #include <clc/math/native_log.h> #include <clc/math/native_log2.h> #include <clc/math/native_powr.h> +#include <clc/math/native_recip.h> #include <clc/math/native_sin.h> #include <clc/math/native_sqrt.h> #include <clc/math/native_rsqrt.h> diff --git a/libclc/generic/include/clc/math/native_recip.h b/libclc/generic/include/clc/math/native_recip.h new file mode 100644 index 00000000000..51876614a92 --- /dev/null +++ b/libclc/generic/include/clc/math/native_recip.h @@ -0,0 +1 @@ +#define native_recip(x) ((1) / (x)) |

