Lines Matching refs:OpenCLKernel
448 if (((OpenCLKernel *)Kernel->Kernel)->Kernel) { in freeKernelCL()
450 clReleaseKernelFcnPtr(((OpenCLKernel *)Kernel->Kernel)->Kernel); in freeKernelCL()
454 if (((OpenCLKernel *)Kernel->Kernel)->Program) { in freeKernelCL()
456 clReleaseProgramFcnPtr(((OpenCLKernel *)Kernel->Kernel)->Program); in freeKernelCL()
461 free((OpenCLKernel *)Kernel->Kernel); in freeKernelCL()
484 ((OpenCLKernel *)KernelCache[i]->Kernel)->BinaryString == in getKernelCL()
496 Function->Kernel = (OpenCLKernel *)malloc(sizeof(OpenCLKernel)); in getKernelCL()
517 ((OpenCLKernel *)Function->Kernel)->Program = in getKernelCL()
526 ((OpenCLKernel *)Function->Kernel)->Program = in getKernelCL()
534 Ret = clBuildProgramFcnPtr(((OpenCLKernel *)Function->Kernel)->Program, 1, in getKernelCL()
538 ((OpenCLKernel *)Function->Kernel)->Kernel = clCreateKernelFcnPtr( in getKernelCL()
539 ((OpenCLKernel *)Function->Kernel)->Program, KernelName, &Ret); in getKernelCL()
542 ((OpenCLKernel *)Function->Kernel)->BinaryString = BinaryBuffer; in getKernelCL()
604 OpenCLKernel *CLKernel = (OpenCLKernel *)Kernel->Kernel; in launchKernelCL()