Lines Matching +defs:string +defs:properties

107  * The earlier versions of the header included basic vector and string 
111 * We use std::array, std::vector, std::shared_ptr and std::string
116 * cl::array, cl::vector, cl::pointer and cl::string.
159 * Do not use the standard library string class. cl::string is not
215 * also the supplied vector and string classes, see following sections for
237 std::string platver = p.getInfo<CL_PLATFORM_VERSION>();
238 if (platver.find("OpenCL 2.") != std::string::npos) {
253 // Use C++11 raw string literals for kernel source code
254 std::string kernel1{R"CLC(
261 std::string kernel2{R"CLC(
287 // New simpler string interface style
288 std::vector<std::string> programStrings {kernel1, kernel2};
424 # pragma message("cl2.hpp: STRING_CLASS is deprecated. Alias cl::string instead.")
585 #include <string>
587 using string = std::string;
732 * \param errStr a descriptive string that must remain in scope until
741 /*! \brief Get error string associated with exception
743 * \return A memory pointer to the error message string.
1033 // Specialized GetInfoHelper for string params
1035 inline cl_int getInfoHelper(Func f, cl_uint name, string* param, long)
1043 // std::string has a constant data member
1119 F(cl_platform_info, CL_PLATFORM_PROFILE, string) \
1120 F(cl_platform_info, CL_PLATFORM_VERSION, string) \
1121 F(cl_platform_info, CL_PLATFORM_NAME, string) \
1122 F(cl_platform_info, CL_PLATFORM_VENDOR, string) \
1123 F(cl_platform_info, CL_PLATFORM_EXTENSIONS, string) \
1170 F(cl_device_info, CL_DEVICE_NAME, string) \
1171 F(cl_device_info, CL_DEVICE_VENDOR, string) \
1172 F(cl_device_info, CL_DRIVER_VERSION, string) \
1173 F(cl_device_info, CL_DEVICE_PROFILE, string) \
1174 F(cl_device_info, CL_DEVICE_VERSION, string) \
1175 F(cl_device_info, CL_DEVICE_EXTENSIONS, string) \
1217 F(cl_program_info, CL_PROGRAM_SOURCE, string) \
1222 F(cl_program_build_info, CL_PROGRAM_BUILD_OPTIONS, string) \
1223 F(cl_program_build_info, CL_PROGRAM_BUILD_LOG, string) \
1225 F(cl_kernel_info, CL_KERNEL_FUNCTION_NAME, string) \
1251 F(cl_device_info, CL_DEVICE_OPENCL_C_VERSION, string) \
1263 F(cl_program_info, CL_PROGRAM_KERNEL_NAMES, string) \
1267 F(cl_kernel_info, CL_KERNEL_ATTRIBUTES, string) \
1271 F(cl_kernel_arg_info, CL_KERNEL_ARG_TYPE_NAME, string) \
1272 F(cl_kernel_arg_info, CL_KERNEL_ARG_NAME, string) \
1281 F(cl_device_info, CL_DEVICE_BUILT_IN_KERNELS, string) \
1365 CL_HPP_DECLARE_PARAM_TRAITS_(cl_platform_info, CL_PLATFORM_ICD_SUFFIX_KHR, string)
2112 const cl_device_partition_property * properties,
2116 cl_int err = clCreateSubDevices(object_, properties, 0, NULL, &n);
2122 err = clCreateSubDevices(object_, properties, n, ids.data(), NULL);
2149 const cl_device_partition_property_ext * properties,
2155 const cl_device_partition_property_ext * /* properties */,
2164 cl_int err = pfn_clCreateSubDevicesEXT(object_, properties, 0, NULL, &n);
2170 err = pfn_clCreateSubDevicesEXT(object_, properties, n, ids.data(), NULL);
2324 cl_int getInfo(cl_platform_info name, string* param) const
2606 cl_context_properties properties[3] = {
2610 cl_context_properties *properties = nullptr;
2615 properties,
2656 cl_context_properties* properties = NULL,
2675 properties, (cl_uint) numDevices,
2687 cl_context_properties* properties = NULL,
2701 properties, 1,
2717 cl_context_properties* properties = NULL,
2731 if (properties == NULL) {
2786 properties = &prop[0];
2790 properties, type, notifyFptr, data, &error);
5994 typedef vector<string> Sources;
6001 const string& source,
6041 const string& source,
6232 const string& kernelNames,
6695 * \brief Constructs a CommandQueue based on passed properties.
6699 cl_command_queue_properties properties,
6731 CL_QUEUE_PROPERTIES, properties, 0 };
6732 if ((properties & CL_QUEUE_ON_DEVICE) == 0) {
6749 context(), device(), properties, &error);
6761 * \brief Constructs a CommandQueue based on passed properties.
6765 QueueProperties properties,
6797 CL_QUEUE_PROPERTIES, static_cast<cl_queue_properties>(properties), 0 };
6811 context(), device(), static_cast<cl_command_queue_properties>(properties), &error);
6829 cl_command_queue_properties properties = 0,
6862 CL_QUEUE_PROPERTIES, properties, 0 };
6863 if ((properties & CL_QUEUE_ON_DEVICE) == 0) {
6880 context(), devices[0](), properties, &error);
6896 QueueProperties properties,
6929 CL_QUEUE_PROPERTIES, static_cast<cl_queue_properties>(properties), 0 };
6942 context(), devices[0](), static_cast<cl_command_queue_properties>(properties), &error);
6959 cl_command_queue_properties properties = 0,
6980 CL_QUEUE_PROPERTIES, properties, 0 };
6993 context(), device(), properties, &error);
7010 QueueProperties properties,
7031 CL_QUEUE_PROPERTIES, static_cast<cl_queue_properties>(properties), 0 };
7044 context(), device(), static_cast<cl_command_queue_properties>(properties), &error);
8273 DeviceCommandQueue(DeviceQueueProperties properties, cl_int* err = NULL)
8280 CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE | CL_QUEUE_ON_DEVICE | static_cast<cl_command_queue_properties>(properties);
8299 DeviceQueueProperties properties = DeviceQueueProperties::None,
8305 CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE | CL_QUEUE_ON_DEVICE | static_cast<cl_command_queue_properties>(properties);
8324 DeviceQueueProperties properties = DeviceQueueProperties::None,
8330 CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE | CL_QUEUE_ON_DEVICE | static_cast<cl_command_queue_properties>(properties);
8422 cl_command_queue_properties properties =
8425 CL_QUEUE_PROPERTIES, properties,
8450 cl_command_queue_properties properties =
8453 CL_QUEUE_PROPERTIES, properties,
8478 cl_command_queue_properties properties =
8481 CL_QUEUE_PROPERTIES, properties,
9485 const string name,
9574 const string name,