Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * 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);
 }