Home | History | Annotate | Download | only in CL

Lines Matching defs:retain

772       return ReferenceHandler<CPP_TYPE::cl_type>::retain((*param)()); \
1007 // cl_device_id does not have retain().
1008 static cl_int retain(cl_device_id)
1018 // cl_platform_id does not have retain().
1019 static cl_int retain(cl_platform_id)
1029 static cl_int retain(cl_context context)
1038 static cl_int retain(cl_command_queue queue)
1047 static cl_int retain(cl_mem memory)
1056 static cl_int retain(cl_sampler sampler)
1065 static cl_int retain(cl_program program)
1074 static cl_int retain(cl_kernel kernel)
1083 static cl_int retain(cl_event event)
1109 if (object_ != NULL) { retain(); }
1116 if (object_ != NULL) { retain(); }
1126 cl_int retain() const
1128 return ReferenceHandler<cl_type>::retain(object_);