/** * The program source code * * @param program The program * @return The value */ public static String getSource(cl_program program) { return Infos.getString(Infos.FOR_PROGRAM, program, CL_PROGRAM_SOURCE); }
/** * The kernel function name. * * @param kernel The kernel * @return The value */ public static String getFunctionName(cl_kernel kernel) { return Infos.getString(Infos.FOR_KERNEL, kernel, CL_KERNEL_FUNCTION_NAME); }