25#ifndef CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV
26# define CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV 0x4000
27# define CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV 0x4001
50 GLenum texture_target,
58 const cl_image_format *image_format,
70 cl_uint num_events_in_wait_list,
71 const cl_event *event_wait_list,
77 const void *fill_color,
80 cl_uint num_events_in_wait_list,
81 const cl_event *event_wait_list,
void cl_compat_init(void)
void cl_compat_check_platform(cl_platform_id pl_id)
cl_int CL_API_CALL clEnqueueFillImage(cl_command_queue command_queue, cl_mem image, const void *fill_color, const size_t *origin, const size_t *region, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)
cl_mem CL_API_CALL clCreateImage(cl_context context, cl_mem_flags flags, const cl_image_format *image_format, const cl_image_desc *image_desc, void *host_ptr, cl_int *errcode_ret)
cl_int CL_API_CALL clEnqueueFillBuffer(cl_command_queue command_queue, cl_mem buffer, const void *pattern, size_t pattern_size, size_t offset, size_t size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)
struct _cl_image_desc cl_image_desc
cl_mem CL_API_CALL clCreateFromGLTexture(cl_context context, cl_mem_flags flags, GLenum texture_target, GLint miplevel, GLuint texture, cl_int *errcode_ret)
Definition cl_compat.h:34
size_t image_width
Definition cl_compat.h:36
size_t image_height
Definition cl_compat.h:37
cl_uint num_samples
Definition cl_compat.h:43
size_t image_array_size
Definition cl_compat.h:39
cl_uint num_mip_levels
Definition cl_compat.h:42
cl_mem_object_type image_type
Definition cl_compat.h:35
cl_mem buffer
Definition cl_compat.h:44
size_t image_row_pitch
Definition cl_compat.h:40
size_t image_slice_pitch
Definition cl_compat.h:41
size_t image_depth
Definition cl_compat.h:38