Home
last modified time | relevance | path

Searched refs:func_ptr (Results 1 – 25 of 45) sorted by relevance

12

/external/tensorflow/tensorflow/stream_executor/cuda/
Dcupti_10_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cuptiGetResultString");
8 if (!func_ptr) {
14 return func_ptr(result, str);
19 static auto func_ptr = LoadSymbol<FuncPtr>("cuptiGetVersion");
20 if (!func_ptr) return GetSymbolNotFoundError();
21 return func_ptr(version);
27 static auto func_ptr = LoadSymbol<FuncPtr>("cuptiSupportedDomains");
28 if (!func_ptr) return GetSymbolNotFoundError();
29 return func_ptr(domainCount, domainTable);
37 static auto func_ptr = LoadSymbol<FuncPtr>("cuptiSubscribe");
[all …]
Dcuda_10_0.inc6 static auto func_ptr = LoadSymbol<FuncPtr>("cuGetErrorString");
7 if (!func_ptr) return GetSymbolNotFoundError();
8 return func_ptr(error, pStr);
13 static auto func_ptr = LoadSymbol<FuncPtr>("cuGetErrorName");
14 if (!func_ptr) return GetSymbolNotFoundError();
15 return func_ptr(error, pStr);
20 static auto func_ptr = LoadSymbol<FuncPtr>("cuInit");
21 if (!func_ptr) return GetSymbolNotFoundError();
22 return func_ptr(Flags);
27 static auto func_ptr = LoadSymbol<FuncPtr>("cuDriverGetVersion");
[all …]
Dcuda_runtime_9_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceReset");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr();
15 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceSynchronize");
16 if (!func_ptr) return GetSymbolNotFoundError();
17 return func_ptr();
23 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceSetLimit");
24 if (!func_ptr) return GetSymbolNotFoundError();
25 return func_ptr(limit, value);
31 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceGetLimit");
[all …]
Dcuda_runtime_10_1.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceReset");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr();
15 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceSynchronize");
16 if (!func_ptr) return GetSymbolNotFoundError();
17 return func_ptr();
23 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceSetLimit");
24 if (!func_ptr) return GetSymbolNotFoundError();
25 return func_ptr(limit, value);
31 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceGetLimit");
[all …]
Dcuda_runtime_10_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceReset");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr();
15 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceSynchronize");
16 if (!func_ptr) return GetSymbolNotFoundError();
17 return func_ptr();
23 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceSetLimit");
24 if (!func_ptr) return GetSymbolNotFoundError();
25 return func_ptr(limit, value);
31 static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceGetLimit");
[all …]
Dcurand_10_0.inc8 static auto func_ptr = LoadSymbol<FuncPtr>("curandCreateGenerator");
9 if (!func_ptr) return GetSymbolNotFoundError();
10 return func_ptr(generator, rng_type);
17 static auto func_ptr = LoadSymbol<FuncPtr>("curandCreateGeneratorHost");
18 if (!func_ptr) return GetSymbolNotFoundError();
19 return func_ptr(generator, rng_type);
24 static auto func_ptr = LoadSymbol<FuncPtr>("curandDestroyGenerator");
25 if (!func_ptr) return GetSymbolNotFoundError();
26 return func_ptr(generator);
31 static auto func_ptr = LoadSymbol<FuncPtr>("curandGetVersion");
[all …]
Dcufft_10_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlan1d");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr(plan, nx, type, batch);
15 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlan2d");
16 if (!func_ptr) return GetSymbolNotFoundError();
17 return func_ptr(plan, nx, ny, type);
24 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlan3d");
25 if (!func_ptr) return GetSymbolNotFoundError();
26 return func_ptr(plan, nx, ny, nz, type);
35 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlanMany");
[all …]
Dcudnn_7_3.inc8 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion");
9 if (!func_ptr) return 0;
10 return func_ptr();
16 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion");
17 if (!func_ptr) return 0;
18 return func_ptr();
24 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString");
25 if (!func_ptr) return "cudnnGetErrorString symbol not found.";
26 return func_ptr(status);
32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError");
[all …]
Dcudnn_7_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion");
8 if (!func_ptr) return 0;
9 return func_ptr();
14 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion");
15 if (!func_ptr) return 0;
16 return func_ptr();
21 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString");
22 if (!func_ptr) return "cudnnGetErrorString symbol not found.";
23 return func_ptr(status);
32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError");
[all …]
Dcudnn_7_6.inc8 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion");
9 if (!func_ptr) return 0;
10 return func_ptr();
16 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion");
17 if (!func_ptr) return 0;
18 return func_ptr();
24 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString");
25 if (!func_ptr) return "cudnnGetErrorString symbol not found.";
26 return func_ptr(status);
32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError");
[all …]
Dcudnn_7_1.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion");
8 if (!func_ptr) return 0;
9 return func_ptr();
14 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion");
15 if (!func_ptr) return 0;
16 return func_ptr();
21 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString");
22 if (!func_ptr) return "cudnnGetErrorString symbol not found.";
23 return func_ptr(status);
32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError");
[all …]
Dcusolver_dense_10_0.inc8 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverGetProperty");
9 if (!func_ptr) return GetSymbolNotFoundError();
10 return func_ptr(type, value);
15 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverDnCreate");
16 if (!func_ptr) return GetSymbolNotFoundError();
17 return func_ptr(handle);
22 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverDnDestroy");
23 if (!func_ptr) return GetSymbolNotFoundError();
24 return func_ptr(handle);
31 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverDnSetStream");
[all …]
Dcudnn_7_4.inc8 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion");
9 if (!func_ptr) return 0;
10 return func_ptr();
16 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion");
17 if (!func_ptr) return 0;
18 return func_ptr();
24 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString");
25 if (!func_ptr) return "cudnnGetErrorString symbol not found.";
26 return func_ptr(status);
32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError");
[all …]
Dcublas_9_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cublasCreate_v2");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr(handle);
14 static auto func_ptr = LoadSymbol<FuncPtr>("cublasDestroy_v2");
15 if (!func_ptr) return GetSymbolNotFoundError();
16 return func_ptr(handle);
21 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetVersion_v2");
22 if (!func_ptr) return GetSymbolNotFoundError();
23 return func_ptr(handle, version);
28 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetProperty");
[all …]
Dcudnn_6_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion");
8 if (!func_ptr) return 0;
9 return func_ptr();
14 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion");
15 if (!func_ptr) return 0;
16 return func_ptr();
21 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString");
22 if (!func_ptr) return "cudnnGetErrorString symbol not found.";
23 return func_ptr(status);
28 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetProperty");
[all …]
Dcublas_10_1.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cublasCreate_v2");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr(handle);
14 static auto func_ptr = LoadSymbol<FuncPtr>("cublasDestroy_v2");
15 if (!func_ptr) return GetSymbolNotFoundError();
16 return func_ptr(handle);
22 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetVersion_v2");
23 if (!func_ptr) return GetSymbolNotFoundError();
24 return func_ptr(handle, version);
30 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetProperty");
[all …]
Dcublas_10_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cublasCreate_v2");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr(handle);
14 static auto func_ptr = LoadSymbol<FuncPtr>("cublasDestroy_v2");
15 if (!func_ptr) return GetSymbolNotFoundError();
16 return func_ptr(handle);
22 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetVersion_v2");
23 if (!func_ptr) return GetSymbolNotFoundError();
24 return func_ptr(handle, version);
30 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetProperty");
[all …]
Dcusolver_dense_10_1.inc8 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverGetProperty");
9 if (!func_ptr) return GetSymbolNotFoundError();
10 return func_ptr(type, value);
15 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverGetVersion");
16 if (!func_ptr) return GetSymbolNotFoundError();
17 return func_ptr(version);
22 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverDnCreate");
23 if (!func_ptr) return GetSymbolNotFoundError();
24 return func_ptr(handle);
29 static auto func_ptr = LoadSymbol<FuncPtr>("cusolverDnDestroy");
[all …]
Dcusparse_10_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseCreate");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr(handle);
14 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseDestroy");
15 if (!func_ptr) return GetSymbolNotFoundError();
16 return func_ptr(handle);
22 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseGetVersion");
23 if (!func_ptr) return GetSymbolNotFoundError();
24 return func_ptr(handle, version);
30 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseGetProperty");
[all …]
Dcusparse_10_1.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseCreate");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr(handle);
14 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseDestroy");
15 if (!func_ptr) return GetSymbolNotFoundError();
16 return func_ptr(handle);
22 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseGetVersion");
23 if (!func_ptr) return GetSymbolNotFoundError();
24 return func_ptr(handle, version);
30 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseGetProperty");
[all …]
Dcudart_stub.cc75 static auto func_ptr = LoadSymbol<FuncPtr>("__cudaRegisterFunction"); in __cudaRegisterFunction() local
76 if (!func_ptr) return; in __cudaRegisterFunction()
77 func_ptr(fatCubinHandle, hostFun, deviceFun, deviceName, thread_limit, tid, in __cudaRegisterFunction()
83 static auto func_ptr = LoadSymbol<FuncPtr>("__cudaUnregisterFatBinary"); in __cudaUnregisterFatBinary() local
84 if (!func_ptr) return; in __cudaUnregisterFatBinary()
85 func_ptr(fatCubinHandle); in __cudaUnregisterFatBinary()
95 static auto func_ptr = LoadSymbol<FuncPtr>("__cudaRegisterVar"); in __cudaRegisterVar() local
96 if (!func_ptr) return; in __cudaRegisterVar()
97 func_ptr(fatCubinHandle, hostVar, deviceAddress, deviceName, ext, size, in __cudaRegisterVar()
103 static auto func_ptr = LoadSymbol<FuncPtr>("__cudaRegisterFatBinary"); in __cudaRegisterFatBinary() local
[all …]
Dcusparse_9_0.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseCreate");
8 if (!func_ptr) return GetSymbolNotFoundError();
9 return func_ptr(handle);
14 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseDestroy");
15 if (!func_ptr) return GetSymbolNotFoundError();
16 return func_ptr(handle);
22 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseGetVersion");
23 if (!func_ptr) return GetSymbolNotFoundError();
24 return func_ptr(handle, version);
30 static auto func_ptr = LoadSymbol<FuncPtr>("cusparseGetProperty");
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/stub/
DNvInferPlugin_5_1.inc12 static auto func_ptr = LoadSymbol<FuncPtr>("createRPNROIPlugin");
13 if (!func_ptr) LogFatalSymbolNotFound("createRPNROIPlugin");
14 …return func_ptr(featureStride, preNmsTop, nmsMaxOut, iouThreshold, minBoxSize, spatialScale, pooli…
21 static auto func_ptr = LoadSymbol<FuncPtr>("createNormalizePlugin");
22 if (!func_ptr) LogFatalSymbolNotFound("createNormalizePlugin");
23 return func_ptr(scales, acrossSpatial, channelShared, eps);
29 static auto func_ptr = LoadSymbol<FuncPtr>("createPriorBoxPlugin");
30 if (!func_ptr) LogFatalSymbolNotFound("createPriorBoxPlugin");
31 return func_ptr(param);
37 static auto func_ptr = LoadSymbol<FuncPtr>("createAnchorGeneratorPlugin");
[all …]
DNvInferPlugin_5_0.inc12 static auto func_ptr = LoadSymbol<FuncPtr>("createRPNROIPlugin");
13 if (!func_ptr) LogFatalSymbolNotFound("createRPNROIPlugin");
14 …return func_ptr(featureStride, preNmsTop, nmsMaxOut, iouThreshold, minBoxSize, spatialScale, pooli…
21 static auto func_ptr = LoadSymbol<FuncPtr>("createNormalizePlugin");
22 if (!func_ptr) LogFatalSymbolNotFound("createNormalizePlugin");
23 return func_ptr(scales, acrossSpatial, channelShared, eps);
29 static auto func_ptr = LoadSymbol<FuncPtr>("createPriorBoxPlugin");
30 if (!func_ptr) LogFatalSymbolNotFound("createPriorBoxPlugin");
31 return func_ptr(param);
37 static auto func_ptr = LoadSymbol<FuncPtr>("createAnchorGeneratorPlugin");
[all …]
DNvInfer_5_1.inc7 static auto func_ptr = LoadSymbol<FuncPtr>("createInferBuilder_INTERNAL");
8 if (!func_ptr) LogFatalSymbolNotFound("createInferBuilder_INTERNAL");
9 return func_ptr(logger, version);
14 static auto func_ptr = LoadSymbol<FuncPtr>("createInferRefitter_INTERNAL");
15 if (!func_ptr) LogFatalSymbolNotFound("createInferRefitter_INTERNAL");
16 return func_ptr(engine, logger, version);
21 static auto func_ptr = LoadSymbol<FuncPtr>("createInferRuntime_INTERNAL");
22 if (!func_ptr) LogFatalSymbolNotFound("createInferRuntime_INTERNAL");
23 return func_ptr(logger, version);
28 static auto func_ptr = LoadSymbol<FuncPtr>("getLogger");
[all …]

12