MCPcopy Create free account
hub / github.com/creatale/node-dv / gpuFuncTable

Function gpuFuncTable

deps/opencv/modules/core/src/gpumat.cpp:225–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223#endif
224
225static GpuFuncTable* gpuFuncTable()
226{
227#ifdef DYNAMIC_CUDA_SUPPORT
228 static EmptyFuncTable stub;
229 static GpuFuncTable* libFuncTable = loadCudaSupportLib() ? gpuFactory(): (GpuFuncTable*)&stub;
230 static GpuFuncTable *funcTable = libFuncTable ? libFuncTable : (GpuFuncTable*)&stub;
231#else
232# ifdef USE_CUDA
233 static CudaFuncTable impl;
234 static GpuFuncTable* funcTable = &impl;
235#else
236 static EmptyFuncTable stub;
237 static GpuFuncTable* funcTable = &stub;
238#endif
239#endif
240 return funcTable;
241}
242
243static DeviceInfoFuncTable* deviceInfoFuncTable()
244{

Callers 7

uploadMethod · 0.85
downloadMethod · 0.85
copyToMethod · 0.85
createMethod · 0.85
releaseMethod · 0.85
convertToFunction · 0.85
setToFunction · 0.85

Calls 2

loadCudaSupportLibFunction · 0.85
gpuFactoryFunction · 0.85

Tested by

no test coverage detected