Lines Matching refs:param

756          *  \param err error code value.
758 * \param errStr a descriptive string that must remain in scope until
992 inline cl_int getInfoHelper(Functor f, cl_uint name, T* param, long)
994 return f(name, sizeof(T), param, NULL);
1000 inline cl_int getInfoHelper(Func f, cl_uint name, vector<vector<unsigned char>>* param, int)
1005 if (param) {
1007 size_type numBinaries = param->size();
1012 binariesPointers[i] = (*param)[i].data();
1028 inline cl_int getInfoHelper(Func f, cl_uint name, vector<T>* param, long)
1037 // Temporary to avoid changing param on an error
1043 if (param) {
1044 *param = std::move(localData);
1058 Func f, cl_uint name, vector<T>* param, int, typename T::cl_type = 0)
1074 if (param) {
1076 param->resize(elements);
1078 // Assign to param, constructing with retain behaviour
1081 (*param)[i] = T(value[i], true);
1089 inline cl_int getInfoHelper(Func f, cl_uint name, string* param, long)
1105 if (param) {
1106 param->assign(begin(value), prev(end(value)));
1109 else if (param) {
1110 param->assign("");
1117 inline cl_int getInfoHelper(Func f, cl_uint name, array<size_type, N>* param, long)
1139 (*param)[i] = value[i];
1154 inline cl_int getInfoHelper(Func f, cl_uint name, T* param, int, typename T::cl_type = 0)
1161 *param = value;
1164 err = param->retain();
1529 getInfo(Func f, cl_uint name, T* param)
1531 return getInfoHelper(f, name, param, 0);
1539 cl_uint param, size_type size, void* value, size_type* size_ret)
1540 { return f_(arg0_, param, size, value, size_ret); }
1548 cl_uint param, size_type size, void* value, size_type* size_ret)
1549 { return f_(arg0_, arg1_, param, size, value, size_ret); }
1554 getInfo(Func f, const Arg0& arg0, cl_uint name, T* param)
1557 return getInfoHelper(f0, name, param, 0);
1562 getInfo(Func f, const Arg0& arg0, const Arg1& arg1, cl_uint name, T* param)
1565 return getInfoHelper(f0, name, param, 0);
1582 * \param device A valid device created using createSubDevices
1593 * \param device A valid device created using createSubDevices
2182 cl_int getInfo(cl_device_info name, T* param) const
2185 detail::getInfo(&::clGetDeviceInfo, object_, name, param),
2195 detail::cl_device_info, name>::param_type param;
2196 cl_int result = getInfo(name, &param);
2200 return param;
2276 // Assign to param, constructing with retain behaviour
2323 // Assign to param, constructing with retain behaviour
2424 * \param retainObject will cause the constructor to retain its cl object.
2468 cl_int getInfo(cl_platform_info name, string* param) const
2471 detail::getInfo(&::clGetPlatformInfo, object_, name, param),
2481 detail::cl_platform_info, name>::param_type param;
2482 cl_int result = getInfo(name, &param);
2486 return param;
2519 // Assign to param, constructing with retain behaviour
2531 * \param d3d_device_source.
2533 * \param d3d_object.
2535 * \param d3d_device_set.
2537 * \param devices returns a vector of OpenCL D3D10 devices found. The cl::Device
2607 // Assign to param, constructing with retain behaviour
3023 cl_int getInfo(cl_context_info name, T* param) const
3026 detail::getInfo(&::clGetContextInfo, object_, name, param),
3036 detail::cl_context_info, name>::param_type param;
3037 cl_int result = getInfo(name, &param);
3041 return param;
3143 * \param retainObject will cause the constructor to retain its cl object.
3165 cl_int getInfo(cl_event_info name, T* param) const
3168 detail::getInfo(&::clGetEventInfo, object_, name, param),
3178 detail::cl_event_info, name>::param_type param;
3179 cl_int result = getInfo(name, &param);
3183 return param;
3188 cl_int getProfilingInfo(cl_profiling_info name, T* param) const
3191 &::clGetEventProfilingInfo, object_, name, param),
3201 detail::cl_profiling_info, name>::param_type param;
3202 cl_int result = getProfilingInfo(name, &param);
3206 return param;
3329 * \param retainObject will cause the constructor to retain its cl object.
3380 cl_int getInfo(cl_mem_info name, T* param) const
3383 detail::getInfo(&::clGetMemObjectInfo, object_, name, param),
3393 detail::cl_mem_info, name>::param_type param;
3394 cl_int result = getInfo(name, &param);
3398 return param;
3816 * \param host_ptr Storage to be used if the CL_MEM_USE_HOST_PTR flag was
3839 * \param host_ptr Storage to be used if the CL_MEM_USE_HOST_PTR flag was
3935 * \param retainObject will cause the constructor to retain its cl object.
4071 * \param retainObject will cause the constructor to retain its cl object.
4160 * \param retainObject will cause the constructor to retain its cl object.
4257 * \param retainObject will cause the constructor to retain its cl object.
4328 * \param retainObject will cause the constructor to retain its cl object.
4378 cl_int getImageInfo(cl_image_info name, T* param) const
4381 detail::getInfo(&::clGetImageInfo, object_, name, param),
4391 detail::cl_image_info, name>::param_type param;
4392 cl_int result = getImageInfo(name, &param);
4396 return param;
4448 * \param retainObject will cause the constructor to retain its cl object.
4536 * \param retainObject will cause the constructor to retain its cl object.
4624 * \param retainObject will cause the constructor to retain its cl object.
4799 * \param order is the channel order to reinterpret the image data as.
4863 * \param retainObject will cause the constructor to retain its cl object.
4959 * \param retainObject will cause the constructor to retain its cl object.
5057 * \param retainObject will cause the constructor to retain its cl object.
5188 * \param retainObject will cause the constructor to retain its cl object.
5280 * \param retainObject will cause the constructor to retain its cl object.
5365 * \param retainObject will cause the constructor to retain its cl object.
5425 * @param context Context in which to create the pipe.
5426 * @param flags Bitfield. Only CL_MEM_READ_WRITE and CL_MEM_HOST_NO_ACCESS are valid.
5427 * @param packet_size Size in bytes of a single packet of the pipe.
5428 * @param max_packets Number of packets that may be stored in the pipe.
5451 * @param flags Bitfield. Only CL_MEM_READ_WRITE and CL_MEM_HOST_NO_ACCESS are valid.
5452 * @param packet_size Size in bytes of a single packet of the pipe.
5453 * @param max_packets Number of packets that may be stored in the pipe.
5479 * \param retainObject will cause the constructor to retain its cl object.
5527 cl_int getInfo(cl_pipe_info name, T* param) const
5530 detail::getInfo(&::clGetPipeInfo, object_, name, param),
5540 detail::cl_pipe_info, name>::param_type param;
5541 cl_int result = getInfo(name, &param);
5545 return param;
5610 * \param retainObject will cause the constructor to retain its cl object.
5660 cl_int getInfo(cl_sampler_info name, T* param) const
5663 detail::getInfo(&::clGetSamplerInfo, object_, name, param),
5673 detail::cl_sampler_info, name>::param_type param;
5674 cl_int result = getInfo(name, &param);
5678 return param;
5835 * \param retainObject will cause the constructor to retain its cl object.
5884 cl_int getInfo(cl_kernel_info name, T* param) const
5887 detail::getInfo(&::clGetKernelInfo, object_, name, param),
5896 detail::cl_kernel_info, name>::param_type param;
5897 cl_int result = getInfo(name, &param);
5901 return param;
5906 cl_int getArgInfo(cl_uint argIndex, cl_kernel_arg_info name, T* param) const
5909 detail::getInfo(&::clGetKernelArgInfo, object_, argIndex, name, param),
5918 detail::cl_kernel_arg_info, name>::param_type param;
5919 cl_int result = getArgInfo(argIndex, name, &param);
5923 return param;
5929 const Device& device, cl_kernel_work_group_info name, T* param) const
5933 &::clGetKernelWorkGroupInfo, object_, device(), name, param),
5942 detail::cl_kernel_work_group_info, name>::param_type param;
5943 cl_int result = getWorkGroupInfo(device, name, &param);
5947 return param;
5951 cl_int getSubGroupInfo(const cl::Device &dev, cl_kernel_sub_group_info name, const cl::NDRange &range, size_type* param) const
5956 clGetKernelSubGroupInfo(object_, dev(), name, range.size(), range.get(), sizeof(size_type), param, nullptr),
5966 pfn_clGetKernelSubGroupInfoKHR(object_, dev(), name, range.size(), range.get(), sizeof(size_type), param, nullptr),
5975 size_type param;
5976 cl_int result = getSubGroupInfo(dev, name, range, &param);
5980 return param;
6074 * \param svmEnabled True if fine-grained system SVM is requested. False otherwise.
6426 * \param context A valid OpenCL context in which to construct the program.
6427 * \param devices A vector of OpenCL device objects for which the program will be created.
6428 * \param binaries A vector of pairs of a pointer to a binary object and its length.
6429 * \param binaryStatus An optional vector that on completion will be resized to
6435 * \param err if non-NULL will be set to CL_SUCCESS on successful operation or one of the following errors:
6505 * \param kernelNames Semi-colon separated list of builtin kernel names
6541 * \param retainObject will cause the constructor to retain its cl object.
6645 cl_int getInfo(cl_program_info name, T* param) const
6648 detail::getInfo(&::clGetProgramInfo, object_, name, param),
6657 detail::cl_program_info, name>::param_type param;
6658 cl_int result = getInfo(name, &param);
6662 return param;
6667 const Device& device, cl_program_build_info name, T* param) const
6671 &::clGetProgramBuildInfo, object_, device(), name, param),
6680 detail::cl_program_build_info, name>::param_type param;
6681 cl_int result = getBuildInfo(device, name, &param);
6685 return param;
6713 detail::cl_program_build_info, name>::param_type param;
6714 result = getBuildInfo(d, name, &param);
6717 (d, param));
6751 // Assign to param, constructing with retain behaviour
6900 inline cl_int cl::Program::getInfo(cl_program_info name, vector<vector<unsigned char>>* param) const
6905 if (param) {
6913 param->resize(numBinaries);
6915 (*param)[i].resize(sizes[i]);
6919 detail::getInfo(&::clGetProgramInfo, object_, name, param),
7437 * \param retainObject will cause the constructor to retain its cl object.
7479 cl_int getInfo(cl_command_queue_info name, T* param) const
7483 &::clGetCommandQueueInfo, object_, name, param),
7492 detail::cl_command_queue_info, name>::param_type param;
7493 cl_int result = getInfo(name, &param);
7497 return param;
7829 * \param fillColor is the color to use to fill the image.
7863 * \param fillColor is the color to use to fill the image.
7897 * \param fillColor is the color to use to fill the image.
8335 * @param sizes - The length from each pointer to migrate.
8380 * @param sizes - The length from each pointer to migrate.
8417 * @param sizes - The length from the beginning of each container to migrate.
8817 * \param retainObject will cause the constructor to retain its cl object.
8859 cl_int getInfo(cl_command_queue_info name, T* param) const
8863 &::clGetCommandQueueInfo, object_, name, param),
8872 detail::cl_command_queue_info, name>::param_type param;
8873 cl_int result = getInfo(name, &param);
8877 return param;
9997 * @param args Launch parameters of the kernel.
9998 * @param t0... List of kernel arguments based on the template type of the functor.
10020 * @param args Launch parameters of the kernel.
10021 * @param t0... List of kernel arguments based on the template type of the functor.
10022 * @param error Out parameter returning the error code from the execution.