1 #define _CLC_ISEQUAL_DECL(TYPE, RETTYPE) \
2 _CLC_OVERLOAD _CLC_DECL RETTYPE isequal(TYPE x, TYPE y);
4 #define _CLC_VECTOR_ISEQUAL_DECL(TYPE, RETTYPE) \
5 _CLC_ISEQUAL_DECL(TYPE##2, RETTYPE##2) \
6 _CLC_ISEQUAL_DECL(TYPE##3, RETTYPE##3) \
7 _CLC_ISEQUAL_DECL(TYPE##4, RETTYPE##4) \
8 _CLC_ISEQUAL_DECL(TYPE##8, RETTYPE##8) \
9 _CLC_ISEQUAL_DECL(TYPE##16, RETTYPE##16)
11 _CLC_ISEQUAL_DECL(float, int)
12 _CLC_VECTOR_ISEQUAL_DECL(float, int)
15 _CLC_ISEQUAL_DECL(double, int)
16 _CLC_VECTOR_ISEQUAL_DECL(double, long)
19 _CLC_ISEQUAL_DECL(half
, int)
20 _CLC_VECTOR_ISEQUAL_DECL(half
, short)
23 #undef _CLC_ISEQUAL_DECL
24 #undef _CLC_VECTOR_ISEQUAL_DEC