| 1092 | // parameter as an int. |
| 1093 | template<typename Functor, typename T> |
| 1094 | inline cl_int getInfoHelper(Functor f, cl_uint name, T* param, long) |
| 1095 | { |
| 1096 | return f(name, sizeof(T), param, nullptr); |
| 1097 | } |
| 1098 | |
| 1099 | // Specialized for getInfo<CL_PROGRAM_BINARIES> |
| 1100 | // Assumes that the output vector was correctly resized on the way in |