Lines Matching refs:Func
699 template <typename Func, typename T>
700 struct GetInfoHelper<Func, VECTOR_CLASS<T> >
702 static cl_int get(Func f, cl_uint name, VECTOR_CLASS<T>* param)
722 template <typename Func>
723 struct GetInfoHelper<Func, VECTOR_CLASS<char *> >
726 get(Func f, cl_uint name, VECTOR_CLASS<char *>* param)
738 template <typename Func>
739 struct GetInfoHelper<Func, STRING_CLASS>
741 static cl_int get(Func f, cl_uint name, STRING_CLASS* param)
762 template <typename Func> \
763 struct GetInfoHelper<Func, CPP_TYPE> \
765 static cl_int get(Func f, cl_uint name, CPP_TYPE* param) \
957 template <typename Func, typename T>
959 getInfo(Func f, cl_uint name, T* param)
961 return GetInfoHelper<Func, T>::get(f, name, param);
964 template <typename Func, typename Arg0>
967 Func f_; const Arg0& arg0_;
973 template <typename Func, typename Arg0, typename Arg1>
976 Func f_; const Arg0& arg0_; const Arg1& arg1_;
982 template <typename Func, typename Arg0, typename T>
984 getInfo(Func f, const Arg0& arg0, cl_uint name, T* param)
986 GetInfoFunctor0<Func, Arg0> f0 = { f, arg0 };
987 return GetInfoHelper<GetInfoFunctor0<Func, Arg0>, T>
991 template <typename Func, typename Arg0, typename Arg1, typename T>
993 getInfo(Func f, const Arg0& arg0, const Arg1& arg1, cl_uint name, T* param)
995 GetInfoFunctor1<Func, Arg0, Arg1> f0 = { f, arg0, arg1 };
996 return GetInfoHelper<GetInfoFunctor1<Func, Arg0, Arg1>, T>