diff options
Diffstat (limited to 'libclc/generic/lib/integer/popcount.cl')
-rw-r--r-- | libclc/generic/lib/integer/popcount.cl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libclc/generic/lib/integer/popcount.cl b/libclc/generic/lib/integer/popcount.cl new file mode 100644 index 00000000000..ca83b1afaf9 --- /dev/null +++ b/libclc/generic/lib/integer/popcount.cl @@ -0,0 +1,8 @@ +#include <clc/clc.h> +#include <integer/popcount.h> + +#define __CLC_FUNC popcount +#define __CLC_IMPL_FUNC __clc_native_popcount + +#define __CLC_BODY "../clc_unary.inc" +#include <clc/integer/gentype.inc> |