Lines Matching defs:retain
1078 // Assign to param, constructing with retain behaviour
1164 err = param->retain();
1575 * OpenCL 1.2 devices do have retain/release.
1589 static cl_int retain(cl_device_id device)
1605 * OpenCL 1.1 devices do not have retain/release.
1610 // cl_device_id does not have retain().
1611 static cl_int retain(cl_device_id)
1622 // cl_platform_id does not have retain().
1623 static cl_int retain(cl_platform_id)
1633 static cl_int retain(cl_context context)
1642 static cl_int retain(cl_command_queue queue)
1651 static cl_int retain(cl_mem memory)
1660 static cl_int retain(cl_sampler sampler)
1669 static cl_int retain(cl_program program)
1678 static cl_int retain(cl_kernel kernel)
1687 static cl_int retain(cl_event event)
1761 detail::errHandler(retain(), __RETAIN_ERR);
1773 detail::errHandler(retain(), __RETAIN_ERR);
1787 detail::errHandler(retain(), __RETAIN_ERR);
1819 cl_int retain() const
1822 return ReferenceHandler<cl_type>::retain(object_);
1880 detail::errHandler(retain(), __RETAIN_ERR);
1893 detail::errHandler(retain(), __RETAIN_ERR);
1910 detail::errHandler(retain(), __RETAIN_ERR);
1948 cl_int retain() const
1951 return ReferenceHandler<cl_type>::retain(object_);
2276 // Assign to param, constructing with retain behaviour
2279 // We do not need to retain because this device is being created
2323 // Assign to param, constructing with retain behaviour
2326 // We do not need to retain because this device is being created
2424 * \param retainObject will cause the constructor to retain its cl object.
2514 // We must retain things we obtain from the API to avoid releasing
2519 // Assign to param, constructing with retain behaviour
2602 // We must retain things we obtain from the API to avoid releasing
2607 // Assign to param, constructing with retain behaviour
3143 * \param retainObject will cause the constructor to retain its cl object.
3329 * \param retainObject will cause the constructor to retain its cl object.
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.
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.
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.
5479 * \param retainObject will cause the constructor to retain its cl object.
5610 * \param retainObject will cause the constructor to retain its cl object.
5835 * \param retainObject will cause the constructor to retain its cl object.
6541 * \param retainObject will cause the constructor to retain its cl object.
6751 // Assign to param, constructing with retain behaviour
6754 // We do not need to retain because this kernel is being created
7437 * \param retainObject will cause the constructor to retain its cl object.
8817 * \param retainObject will cause the constructor to retain its cl object.