Lines Matching refs:HandleCuda

937 static void *HandleCuda;  variable
1048 HandleCuda = dlopen("libcuda.so", RTLD_LAZY); in initialDeviceAPILibrariesCUDA()
1049 if (!HandleCuda) { in initialDeviceAPILibrariesCUDA()
1083 (CuLaunchKernelFcnTy *)getAPIHandleCUDA(HandleCuda, "cuLaunchKernel"); in initialDeviceAPIsCUDA()
1086 (CuMemAllocFcnTy *)getAPIHandleCUDA(HandleCuda, "cuMemAlloc_v2"); in initialDeviceAPIsCUDA()
1089 HandleCuda, "cuMemAllocManaged"); in initialDeviceAPIsCUDA()
1092 (CuMemFreeFcnTy *)getAPIHandleCUDA(HandleCuda, "cuMemFree_v2"); in initialDeviceAPIsCUDA()
1095 (CuMemcpyDtoHFcnTy *)getAPIHandleCUDA(HandleCuda, "cuMemcpyDtoH_v2"); in initialDeviceAPIsCUDA()
1098 (CuMemcpyHtoDFcnTy *)getAPIHandleCUDA(HandleCuda, "cuMemcpyHtoD_v2"); in initialDeviceAPIsCUDA()
1101 (CuModuleUnloadFcnTy *)getAPIHandleCUDA(HandleCuda, "cuModuleUnload"); in initialDeviceAPIsCUDA()
1104 (CuProfilerStopFcnTy *)getAPIHandleCUDA(HandleCuda, "cuProfilerStop"); in initialDeviceAPIsCUDA()
1107 (CuCtxDestroyFcnTy *)getAPIHandleCUDA(HandleCuda, "cuCtxDestroy"); in initialDeviceAPIsCUDA()
1109 CuInitFcnPtr = (CuInitFcnTy *)getAPIHandleCUDA(HandleCuda, "cuInit"); in initialDeviceAPIsCUDA()
1112 (CuDeviceGetCountFcnTy *)getAPIHandleCUDA(HandleCuda, "cuDeviceGetCount"); in initialDeviceAPIsCUDA()
1115 (CuDeviceGetFcnTy *)getAPIHandleCUDA(HandleCuda, "cuDeviceGet"); in initialDeviceAPIsCUDA()
1118 (CuCtxCreateFcnTy *)getAPIHandleCUDA(HandleCuda, "cuCtxCreate_v2"); in initialDeviceAPIsCUDA()
1121 (CuCtxGetCurrentFcnTy *)getAPIHandleCUDA(HandleCuda, "cuCtxGetCurrent"); in initialDeviceAPIsCUDA()
1124 HandleCuda, "cuModuleLoadDataEx"); in initialDeviceAPIsCUDA()
1127 (CuModuleLoadDataFcnTy *)getAPIHandleCUDA(HandleCuda, "cuModuleLoadData"); in initialDeviceAPIsCUDA()
1130 HandleCuda, "cuModuleGetFunction"); in initialDeviceAPIsCUDA()
1134 HandleCuda, "cuDeviceComputeCapability"); in initialDeviceAPIsCUDA()
1137 (CuDeviceGetNameFcnTy *)getAPIHandleCUDA(HandleCuda, "cuDeviceGetName"); in initialDeviceAPIsCUDA()
1140 (CuLinkAddDataFcnTy *)getAPIHandleCUDA(HandleCuda, "cuLinkAddData"); in initialDeviceAPIsCUDA()
1143 (CuLinkCreateFcnTy *)getAPIHandleCUDA(HandleCuda, "cuLinkCreate"); in initialDeviceAPIsCUDA()
1146 (CuLinkCompleteFcnTy *)getAPIHandleCUDA(HandleCuda, "cuLinkComplete"); in initialDeviceAPIsCUDA()
1149 (CuLinkDestroyFcnTy *)getAPIHandleCUDA(HandleCuda, "cuLinkDestroy"); in initialDeviceAPIsCUDA()
1152 (CuCtxSynchronizeFcnTy *)getAPIHandleCUDA(HandleCuda, "cuCtxSynchronize"); in initialDeviceAPIsCUDA()
1566 dlclose(HandleCuda); in freeContextCUDA()