[ORC] Fail materialization in tasks that are destroyed before running.
[llvm-project.git] / libclc / generic / lib / relational / all.cl
blobe4af0fc514f69104d85d170ffb8b8bcdd16d50c6
1 #include <clc/clc.h>
2 #include <clc/relational/clc_all.h>
4 #define ALL_ID(TYPE) _CLC_OVERLOAD _CLC_DEF int all(TYPE v)
6 #define ALL_VECTORIZE(TYPE) \
7 ALL_ID(TYPE) { return __clc_all(v); } \
8 ALL_ID(TYPE##2) { return __clc_all(v); } \
9 ALL_ID(TYPE##3) { return __clc_all(v); } \
10 ALL_ID(TYPE##4) { return __clc_all(v); } \
11 ALL_ID(TYPE##8) { return __clc_all(v); } \
12 ALL_ID(TYPE##16) { return __clc_all(v); }
14 ALL_VECTORIZE(char)
15 ALL_VECTORIZE(short)
16 ALL_VECTORIZE(int)
17 ALL_VECTORIZE(long)