diff options
-rw-r--r-- | generic/lib/math/log2.cl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/lib/math/log2.cl b/generic/lib/math/log2.cl index df6eeb2..8776a80 100644 --- a/generic/lib/math/log2.cl +++ b/generic/lib/math/log2.cl @@ -34,4 +34,6 @@ _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, log2, float); +#ifdef cl_khr_fp64 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, log2, double); +#endif // cl_khr_fp64 |