Lines Matching defs:library
150 /* OpenCL library */
443 Provide call to OpenCL library methods
1170 testEnv->library=openCL_library;
2122 if (clEnv->library->clGetPlatformInfo(platform,CL_PLATFORM_VERSION,
2127 if (clEnv->library->clGetDeviceIDs(platform,
2218 status=clEnv->library->clGetDeviceIDs(platforms[i],CL_DEVICE_TYPE_CPU |
2294 clEnv->library=openCL_library;
2315 % LoadOpenCLLibrary() load and binds the OpenCL library.
2323 void *OsLibraryGetFunctionAddress(void *library,const char *functionName)
2325 if ((library == (void *) NULL) || (functionName == (const char *) NULL))
2328 return (void *) GetProcAddress((HMODULE)library,functionName);
2330 return (void *) dlsym(library,functionName);
2337 *library;
2344 library=(void *)LoadLibraryA("OpenCL.dll");
2346 library=(void *)dlopen("libOpenCL.so", RTLD_NOW);
2350 if ((openCL_library->X=(MAGICKpfn_##X)OsLibraryGetFunctionAddress(library,#X)) == NULL) \