MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / H

Function H

OpenCLIPP/OpenCLIPP.cpp:156–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154#endif // _MSC_VER
155
156 H(
157 std::string DeviceName = CL->GetDeviceName();
158
159 if (DeviceName.length() > BufferLength - 1)
160 return CL_OUT_OF_RESOURCES;
161
162 DeviceName.copy(Name, BufferLength, 0);
163 Name[DeviceName.length()] = '\0';
164 )
165}
166
167ocipError ocip_API ocipFinish()
168{
169 COpenCL * CL = g_CurrentContext;
170
171 if (CL == nullptr)
172 return CL_INVALID_CONTEXT;
173
174 H( CL->GetQueue().finish() );
175}
176
177
178ocipError ocip_API ocipCreateImage(ocipImage * ImagePtr, SImage image, void * ImageData, cl_mem_flags flags)

Callers 9

ocipUninitializeFunction · 0.85
ocipCreateImageFunction · 0.85
ocipSendImageFunction · 0.85
ocipReadImageFunction · 0.85
ocipReleaseImageFunction · 0.85
ocipReleaseProgramFunction · 0.85
OpenCLIPP.cppFile · 0.85
ocipPrepareFFTFunction · 0.85

Calls 1

GetDeviceNameMethod · 0.80

Tested by

no test coverage detected