Exemple #1
0
 public static extern cl_int clGetSupportedImageFormats(cl_context context,
     cl_mem_flags flags,
     cl_mem_object_type image_type,
     cl_uint num_entries,
     cl_image_format[] image_formats,
     ref cl_uint num_image_formats);
Exemple #2
0
 public static extern cl_mem clCreateImage3D(cl_context context,
     cl_mem_flags flags,
     cl_image_format[] image_format,
     size_t image_width,
     size_t image_height,
     size_t image_depth,
     size_t image_row_pitch,
     size_t image_slice_pitch,
     IntPtr host_ptr,
     ref cl_int errcode_ret);