Lines Matching refs:kernel
47 * Loads an OpenCL kernel from the file with the given named entry point. This only works after
49 * @param file The file path of the kernel
50 * @param name The name of the entry point of the desired kernel in the file
51 * @param kernel A pointer to return the loaded kernel into
54 bool loadKernelFile(const char file[], const char name[], cl_kernel* kernel);
57 * Loads an OpenCL kernel from the stream with the given named entry point. This only works
59 * @param stream The stream that contains the kernel
60 * @param name The name of the entry point of the desired kernel in the stream
61 * @param kernel A pointer to return the loaded kernel into
64 bool loadKernelStream(SkStream* stream, const char name[], cl_kernel* kernel);
67 * Loads an OpenCL kernel from the source string with the given named entry point. This only
69 * @param source The string that contains the kernel
70 * @param name The name of the entry point of the desired kernel in the source string
71 * @param kernel A pointer to return the loaded kernel into
74 bool loadKernelSource(const char source[], const char name[], cl_kernel* kernel);