/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_10_0.inc | 5 using FuncPtr = CUresult (CUDAAPI *)(CUresult, const char **); 6 static auto func_ptr = LoadSymbol<FuncPtr>("cuGetErrorString"); 12 using FuncPtr = CUresult (CUDAAPI *)(CUresult, const char **); 13 static auto func_ptr = LoadSymbol<FuncPtr>("cuGetErrorName"); 19 using FuncPtr = CUresult (CUDAAPI *)(unsigned int); 20 static auto func_ptr = LoadSymbol<FuncPtr>("cuInit"); 26 using FuncPtr = CUresult (CUDAAPI *)(int *); 27 static auto func_ptr = LoadSymbol<FuncPtr>("cuDriverGetVersion"); 33 using FuncPtr = CUresult (CUDAAPI *)(CUdevice *, int); 34 static auto func_ptr = LoadSymbol<FuncPtr>("cuDeviceGet"); [all …]
|
D | curand_10_0.inc | 6 using FuncPtr = curandStatus_t (CURANDAPI *)(curandGenerator_t *, curandRngType_t); 7 static auto func_ptr = LoadSymbol<FuncPtr>("curandCreateGenerator"); 14 using FuncPtr = curandStatus_t (CURANDAPI *)(curandGenerator_t *, curandRngType_t); 15 static auto func_ptr = LoadSymbol<FuncPtr>("curandCreateGeneratorHost"); 22 using FuncPtr = curandStatus_t (CURANDAPI *)(curandGenerator_t); 23 static auto func_ptr = LoadSymbol<FuncPtr>("curandDestroyGenerator"); 30 using FuncPtr = curandStatus_t (CURANDAPI *)(int *); 31 static auto func_ptr = LoadSymbol<FuncPtr>("curandGetVersion"); 38 using FuncPtr = curandStatus_t (CURANDAPI *)(libraryPropertyType, int *); 39 static auto func_ptr = LoadSymbol<FuncPtr>("curandGetProperty"); [all …]
|
D | cufft_10_0.inc | 8 using FuncPtr = cufftResult (CUFFTAPI *)(cufftHandle *, int, cufftType, int); 9 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlan1d"); 17 using FuncPtr = cufftResult (CUFFTAPI *)(cufftHandle *, int, int, cufftType); 18 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlan2d"); 26 using FuncPtr = cufftResult (CUFFTAPI *)(cufftHandle *, int, int, int, cufftType); 27 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlan3d"); 39 …using FuncPtr = cufftResult (CUFFTAPI *)(cufftHandle *, int, int *, int *, int, int, int *, int, i… 40 static auto func_ptr = LoadSymbol<FuncPtr>("cufftPlanMany"); 50 using FuncPtr = cufftResult (CUFFTAPI *)(cufftHandle, int, cufftType, int, size_t *); 51 static auto func_ptr = LoadSymbol<FuncPtr>("cufftMakePlan1d"); [all …]
|
D | cudart_stub.cc | 52 using FuncPtr = cudaError_t (*)(void* devPtr); in cudaFree() typedef 53 static auto func_ptr = LoadSymbol<FuncPtr>("cudaFree"); in cudaFree() 59 using FuncPtr = cudaError_t (*)(int* device); in cudaGetDevice() typedef 60 static auto func_ptr = LoadSymbol<FuncPtr>("cudaGetDevice"); in cudaGetDevice() 67 using FuncPtr = cudaError_t (*)(cudaDeviceProp * prop, int device); in cudaGetDeviceProperties() typedef 68 static auto func_ptr = LoadSymbol<FuncPtr>("cudaGetDeviceProperties"); in cudaGetDeviceProperties() 74 using FuncPtr = const char* (*)(cudaError_t error); in cudaGetErrorString() typedef 75 static auto func_ptr = LoadSymbol<FuncPtr>("cudaGetErrorString"); in cudaGetErrorString() 81 using FuncPtr = cudaError_t (*)(int device); in cudaSetDevice() typedef 82 static auto func_ptr = LoadSymbol<FuncPtr>("cudaSetDevice"); in cudaSetDevice() [all …]
|
D | cudnn_7_3.inc | 7 using FuncPtr = size_t (CUDNNWINAPI *)(); 8 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion"); 15 using FuncPtr = size_t (CUDNNWINAPI *)(); 16 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion"); 23 using FuncPtr = const char * (CUDNNWINAPI *)(cudnnStatus_t); 24 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString"); 31 …using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(cudnnHandle_t, cudnnStatus_t *, cudnnErrQueryMode_t,… 32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError"); 39 using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(libraryPropertyType, int *); 40 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetProperty"); [all …]
|
D | cudnn_7_0.inc | 6 using FuncPtr = size_t (CUDNNWINAPI *)(); 7 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion"); 13 using FuncPtr = size_t (CUDNNWINAPI *)(); 14 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion"); 20 using FuncPtr = const char * (CUDNNWINAPI *)(cudnnStatus_t); 21 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString"); 31 …using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(cudnnHandle_t, cudnnStatus_t *, cudnnErrQueryMode_t,… 32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError"); 38 using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(libraryPropertyType, int *); 39 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetProperty"); [all …]
|
D | cudnn_7_1.inc | 6 using FuncPtr = size_t (CUDNNWINAPI *)(); 7 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion"); 13 using FuncPtr = size_t (CUDNNWINAPI *)(); 14 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion"); 20 using FuncPtr = const char * (CUDNNWINAPI *)(cudnnStatus_t); 21 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString"); 31 …using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(cudnnHandle_t, cudnnStatus_t *, cudnnErrQueryMode_t,… 32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError"); 38 using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(libraryPropertyType, int *); 39 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetProperty"); [all …]
|
D | cudnn_7_4.inc | 7 using FuncPtr = size_t (CUDNNWINAPI *)(); 8 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion"); 15 using FuncPtr = size_t (CUDNNWINAPI *)(); 16 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion"); 23 using FuncPtr = const char * (CUDNNWINAPI *)(cudnnStatus_t); 24 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString"); 31 …using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(cudnnHandle_t, cudnnStatus_t *, cudnnErrQueryMode_t,… 32 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnQueryRuntimeError"); 39 using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(libraryPropertyType, int *); 40 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetProperty"); [all …]
|
D | cublas_9_0.inc | 6 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t *); 7 static auto func_ptr = LoadSymbol<FuncPtr>("cublasCreate_v2"); 13 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t); 14 static auto func_ptr = LoadSymbol<FuncPtr>("cublasDestroy_v2"); 20 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t, int *); 21 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetVersion_v2"); 27 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(libraryPropertyType, int *); 28 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetProperty"); 34 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t, cudaStream_t); 35 static auto func_ptr = LoadSymbol<FuncPtr>("cublasSetStream_v2"); [all …]
|
D | cudnn_6_0.inc | 6 using FuncPtr = size_t (CUDNNWINAPI *)(); 7 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetVersion"); 13 using FuncPtr = size_t (CUDNNWINAPI *)(); 14 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetCudartVersion"); 20 using FuncPtr = const char * (CUDNNWINAPI *)(cudnnStatus_t); 21 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetErrorString"); 27 using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(libraryPropertyType, int *); 28 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnGetProperty"); 34 using FuncPtr = cudnnStatus_t (CUDNNWINAPI *)(cudnnHandle_t *); 35 static auto func_ptr = LoadSymbol<FuncPtr>("cudnnCreate"); [all …]
|
D | cublas_10_0.inc | 6 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t *); 7 static auto func_ptr = LoadSymbol<FuncPtr>("cublasCreate_v2"); 13 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t); 14 static auto func_ptr = LoadSymbol<FuncPtr>("cublasDestroy_v2"); 20 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t, int *); 21 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetVersion_v2"); 27 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(libraryPropertyType, int *); 28 static auto func_ptr = LoadSymbol<FuncPtr>("cublasGetProperty"); 34 using FuncPtr = cublasStatus_t (CUBLASWINAPI *)(cublasHandle_t, cudaStream_t); 35 static auto func_ptr = LoadSymbol<FuncPtr>("cublasSetStream_v2"); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/DynamicLibrary/ |
D | DynamicLibraryTest.cpp | 40 template <class T> static T FuncPtr(void *Ptr) { in FuncPtr() function 70 GetString GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST() 74 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST() 83 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST() 87 GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST() 93 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST() 98 GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST() 101 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST() 105 EXPECT_TRUE(FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol( in TEST() 123 SetStrings SS_0 = FuncPtr<SetStrings>( in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTest.cpp | 91 int (*FuncPtr)() = (int(*)())ptr; in TEST_F() local 92 int returnCode = FuncPtr(); in TEST_F() 111 int32_t(*FuncPtr)() = (int32_t(*)())rgvPtr; in TEST_F() local 112 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F() 183 int32_t(*FuncPtr)() = (int32_t(*)())ptr; in TEST_F() local 184 EXPECT_EQ(innerRetVal, FuncPtr()) in TEST_F()
|
D | MCJITMultipleModuleTest.cpp | 231 int32_t(*FuncPtr)() = (int32_t(*)())FBPtr; in TEST_F() local 232 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F() 237 FuncPtr = (int32_t(*)())FAPtr; in TEST_F() 238 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F()
|
D | MCJITObjectCacheTest.cpp | 103 int (*FuncPtr)() = (int(*)())(intptr_t)vPtr; in compileAndRun() local 104 int returnCode = FuncPtr(); in compileAndRun()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTest.cpp | 92 int (*FuncPtr)() = (int(*)())ptr; in TEST_F() local 93 int returnCode = FuncPtr(); in TEST_F() 112 int32_t(*FuncPtr)() = (int32_t(*)())rgvPtr; in TEST_F() local 113 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F() 184 int32_t(*FuncPtr)() = (int32_t(*)())ptr; in TEST_F() local 185 EXPECT_EQ(innerRetVal, FuncPtr()) in TEST_F()
|
D | MCJITMultipleModuleTest.cpp | 231 int32_t(*FuncPtr)() = (int32_t(*)())FBPtr; in TEST_F() local 232 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F() 237 FuncPtr = (int32_t(*)())FAPtr; in TEST_F() 238 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F()
|
D | MCJITObjectCacheTest.cpp | 103 int (*FuncPtr)() = (int(*)())(intptr_t)vPtr; in compileAndRun() local 104 int returnCode = FuncPtr(); in compileAndRun()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-function-params.cpp | 44 template<typename R, typename A1, R (*ptr)(A1)> struct FuncPtr { }; struct 45 template<typename A1, int (*ptr)(A1)> struct FuncPtr<int, A1, ptr> { }; struct 51 FuncPtr<R, A1, &unary_func<R, A1> > fp1; in use_func_ptr() 52 FuncPtr<R, A2, &unary_func<R, A2> > fp2; in use_func_ptr()
|
/external/clang/test/CodeGen/ |
D | 2007-09-28-PackedUnionMember.c | 23 typedef long (*FuncPtr) (); typedef 25 extern long bork(FuncPtr handler, const struct E *list);
|
D | 2002-07-14-MiscTests3.c | 26 typedef int (*FuncPtr)(int); typedef 32 char PtrFunc2(FuncPtr FuncTab[30], int Num) { in PtrFunc2()
|
/external/clang/test/SemaCXX/ |
D | member-pointers-2.cpp | 39 typedef void (*FuncPtr)(); typedef 45 FuncPtr X0::*fptr;
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | 2011-04-26-SchedTweak.ll | 10 @FuncPtr = external hidden unnamed_addr global %struct.FF* 47 store %struct.FF* %tmp7, %struct.FF** @FuncPtr, align 4
|
/external/llvm/test/CodeGen/ARM/ |
D | 2011-04-26-SchedTweak.ll | 10 @FuncPtr = external hidden unnamed_addr global %struct.FF* 47 store %struct.FF* %tmp7, %struct.FF** @FuncPtr, align 4
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | 2011-04-26-SchedTweak.ll | 10 @FuncPtr = external hidden unnamed_addr global %struct.FF* 47 store %struct.FF* %tmp7, %struct.FF** @FuncPtr, align 4
|