diff options
Diffstat (limited to 'libclc/generic/lib/math/pown.cl')
| -rw-r--r-- | libclc/generic/lib/math/pown.cl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libclc/generic/lib/math/pown.cl b/libclc/generic/lib/math/pown.cl new file mode 100644 index 00000000000..46b354b5eaa --- /dev/null +++ b/libclc/generic/lib/math/pown.cl @@ -0,0 +1,9 @@ +#include <clc/clc.h> + +_CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, pown, float, int) + +#ifdef cl_khr_fp64 +#pragma OPENCL EXTENSION cl_khr_fp64 : enable + +_CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, pown, double, int) +#endif |

