Lines Matching refs:value

459 # pragma message("cl2.hpp: CL_HPP_TARGET_OPENCL_VERSION is not a valid value (100, 110, 120, 200, 210 or 220). It will be set to 220")
484 # pragma message("cl2.hpp: CL_HPP_MINIMUM_OPENCL_VERSION is not a valid value (100, 110, 120, 200, 210 or 220). It will be set to 100")
756 * \param err error code value.
1068 vector<typename T::cl_type> value(elements);
1069 err = f(name, required, value.data(), NULL);
1081 (*param)[i] = T(value[i], true);
1100 vector<char> value(required);
1101 err = f(name, required, value.data(), NULL);
1106 param->assign(begin(value), prev(end(value)));
1126 vector<size_type> value(elements, 0);
1128 err = f(name, required, value.data(), NULL);
1139 (*param)[i] = value[i];
1156 typename T::cl_type value;
1157 cl_int err = f(name, sizeof(value), &value, NULL);
1161 *param = value;
1162 if (value != NULL)
1401 enum { value = param_name }; \
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); }
2094 * This sets @c default_ to an empty value to support cleanup in
2108 * This simply copies the device ID value, which is an inexpensive operation.
2133 * Should be compared to the passed value to ensure that it was updated.
2144 * This simply copies the device ID value, which is an inexpensive operation.
2189 //! \brief Wrapper for clGetDeviceInfo() that returns by value.
2206 * Return the current value of the host clock as seen by the device.
2209 * @return The host timer value.
2410 * This sets @c default_ to an empty value to support cleanup in
2427 * This simply copies the platform ID value, which is an inexpensive operation.
2434 * This simply copies the platform ID value, which is an inexpensive operation.
2458 * Should be compared to the passed value to ensure that it was updated.
2475 //! \brief Wrapper for clGetPlatformInfo() that returns by value.
2548 * \note In the case that exceptions are enabled and a return value
2667 /*! \brief Gets the first available platform, returning it by value.
2785 * This sets @c default_ to an empty value to support cleanup in
2990 * Should be compared to the passed value to ensure that it was updated.
3013 * clReleaseContext() on the value previously held by this instance.
3030 //! \brief Wrapper for clGetContextInfo() that returns by value.
3071 vector<ImageFormat> value(numEntries);
3077 (cl_image_format*)value.data(),
3083 formats->assign(begin(value), end(value));
3155 * clReleaseEvent() on the value previously held by this instance.
3172 //! \brief Wrapper for clGetEventInfo() that returns by value.
3195 //! \brief Wrapper for clGetEventProfilingInfo() that returns by value.
3341 * clReleaseMemObject() on the value previously held by this instance.
3387 //! \brief Wrapper for clGetMemObjectInfo() that returns by value.
3407 * Repeated calls to this function, for a given cl_mem value, will append
3413 * value - not the Memory class instance.
4385 //! \brief Wrapper for clGetImageInfo() that returns by value.
5534 //! \brief Wrapper for clGetMemObjectInfo() that returns by value.
5622 * clReleaseSampler() on the value previously held by this instance.
5667 //! \brief Wrapper for clGetSamplerInfo() that returns by value.
5780 struct KernelArgumentHandler<T, typename std::enable_if<!std::is_base_of<cl::Memory, T>::value>::type>
5783 static const T* ptr(const T& value) { return &value; }
5789 struct KernelArgumentHandler<T, typename std::enable_if<std::is_base_of<cl::Memory, T>::value>::type>
5792 static const cl_mem* ptr(const T& value) { return &(value()); }
5800 static size_type size(const LocalSpaceArg& value) { return value.size_; }
5847 * clReleaseKernel() on the value previously held by this instance.
6008 typename std::enable_if<std::is_pointer<T>::value, cl_int>::type
6020 typename std::enable_if<!std::is_pointer<T>::value, cl_int>::type
6021 setArg(cl_uint index, const T &value)
6027 detail::KernelArgumentHandler<T>::size(value),
6028 detail::KernelArgumentHandler<T>::ptr(value)),
6101 typename std::enable_if<std::is_pointer<T0>::value, void>::type
6116 typename std::enable_if<std::is_pointer<T0>::value, void>::type
6740 vector<cl_kernel> value(numKernels);
6743 object_, numKernels, value.data(), NULL);
6749 kernels->resize(value.size());
6753 for (size_type i = 0; i < value.size(); i++) {
6756 (*kernels)[i] = Kernel(value[i], false);
6790 typename std::enable_if<!std::is_pointer<T>::value, cl_int>::type
6791 setSpecializationConstant(cl_uint index, const T &value)
6797 sizeof(value),
6798 &value),
6806 cl_int setSpecializationConstant(cl_uint index, size_type size, const void* value)
6813 value),
6941 inline cl_int cl::Program::setSpecializationConstant(cl_uint index, const bool &value)
6943 cl_uchar ucValue = value ? CL_UCHAR_MAX : 0;
7034 * This sets @c default_ to an empty value to support cleanup in
7423 * Should be compared to the passed value to ensure that it was updated.
7830 * This is a four component RGBA floating-point color value if
7864 * This is a four component RGBA signed integer color value if
7898 * This is a four component RGBA unsigned integer color value if
9006 static const cl_command_queue* ptr(const cl::DeviceCommandQueue& value) { return &(value()); }