Lines Matching defs:device

467  * CL 1.2 version that uses device fission.
1658 * Retain the device.
1659 * \param device A valid device created using createSubDevices
1662 * CL_INVALID_DEVICE if device was not a valid subdevice
1666 static cl_int retain(cl_device_id device)
1667 { return ::clRetainDevice(device); }
1669 * Retain the device.
1670 * \param device A valid device created using createSubDevices
1673 * CL_INVALID_DEVICE if device was not a valid subdevice
1677 static cl_int release(cl_device_id device)
1678 { return ::clReleaseDevice(device); }
1800 static cl_uint getDevicePlatformVersion(cl_device_id device)
1803 clGetDeviceInfo(device, CL_DEVICE_PLATFORM, sizeof(platform), &platform, NULL);
1811 // device and obtain its context
1913 static bool isReferenceCountable(cl_device_id device)
1916 if (device != NULL) {
1917 int version = getDevicePlatformVersion(device);
2068 * This simply copies the device ID value, which is an inexpensive operation.
2070 __CL_EXPLICIT_CONSTRUCTORS Device(const cl_device_id &device) : detail::Wrapper<cl_type>(device) { }
2072 /*! \brief Returns the first device on the default context.
2080 * This simply copies the device ID value, which is an inexpensive operation.
2168 * CL 1.1 version that uses device fission.
2295 * device. If \a devices argument is NULL, this argument is ignored.
2300 * The application can query specific capabilities of the OpenCL device(s)
2302 * determine which device(s) to use.
2543 const Device& device,
2555 cl_device_id deviceID = device();
2600 // Check the platforms we found for a device of our specified type
2831 Device device;
2842 device = context.getInfo<CL_CONTEXT_DEVICES>()[0];
2848 return device;
4977 const Device& device, cl_kernel_work_group_info name, T* param) const
4981 &::clGetKernelWorkGroupInfo, object_, device(), name, param),
4987 getWorkGroupInfo(const Device& device, cl_int* err = NULL) const
4991 cl_int result = getWorkGroupInfo(device, name, &param);
5122 * Construct a program object from a list of devices and a per-device list of binaries.
5124 * \param devices A vector of OpenCL device objects for which the program will be created.
5131 * Set to CL_INVALID_BINARY if the binary provided is not valid for the matching device.
5137 * CL_INVALID_BINARY if an invalid program binary was encountered for any device. binaryStatus will return specific status for each device.
5350 const Device& device, cl_program_build_info name, T* param) const
5354 &::clGetProgramBuildInfo, object_, device(), name, param),
5360 getBuildInfo(const Device& device, cl_int* err = NULL) const
5364 cl_int result = getBuildInfo(device, name, &param);
5534 Device device = context.getInfo<CL_CONTEXT_DEVICES>()[0];
5537 context(), device(), properties, &error);
5546 * \brief Constructs a CommandQueue for an implementation defined device in the given context
5579 const Device& device,
5585 context(), device(), properties, &error);
5659 Device device = context.getInfo<CL_CONTEXT_DEVICES>()[0];
5661 default_ = CommandQueue(context, device, 0, &error);
6321 * Enqueues a command to indicate with which device a set of memory objects
6533 cl::Device device(getInfo<CL_QUEUE_DEVICE>());
6534 cl_platform_id platform = device.getInfo<CL_DEVICE_PLATFORM>();
6566 cl::Device device(getInfo<CL_QUEUE_DEVICE>());
6567 cl_platform_id platform = device.getInfo<CL_DEVICE_PLATFORM>();