MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / retain

Method retain

include/CL/opencl.hpp:2136–2144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2134 friend inline cl_int getInfoHelper(Func, cl_uint, U*, int, typename U::cl_type);
2135
2136 cl_int retain() const
2137 {
2138 if (object_ != nullptr) {
2139 return ReferenceHandler<cl_type>::retain(object_);
2140 }
2141 else {
2142 return CL_SUCCESS;
2143 }
2144 }
2145
2146 cl_int release() const
2147 {

Callers 1

getInfoHelperFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected