OpenCL
Description:
OpenCL (Open Computing Language) is the open, royalty-free standard for cross-platform, parallel programming of diverse processors found in personal computers, servers, mobile devices and embedded platforms.
Content:
Namespaces:
- OpenCL
- AddressingMode
- BufferCreateType
- BuildStatus
- ChannelOrder
- ChannelType
- CommandExecutionStatus
- CommandQueueInfo
- CommandQueueProperties
- CommandType
- ContextInfo
- ContextProperties
- DeviceInfo
- DeviceType
- ErrorCode
- EventInfo
- ExecCapabilities
- FilterMode
- FpConfig
- ImageInfo
- KernelInfo
- KernelWorkGroupInfo
- LocalMemType
- MapFlags
- MemCacheType
- MemFlags
- MemInfo
- MemObjectType
- PlatformInfo
- ProfilingInfo
- ProgramBuildInfo
- ProgramInfo
- SamplerInfo
- public delegate void DestructorCallback (Mem memobj, void* user_data)
- public delegate void ErrorNotify (char* errinfo, void* private_info, size_t cb, void* user_data)
- public delegate void EventCallback (Event event, CommandExecutionStatus event_command_exec_status, void* user_data)
- public delegate void ProgramBuiltCallback (Program program, void* user_data)
- public delegate void UserFunc (void* args)
- public ErrorCode BuildProgram (Program program, uint num_devices, DeviceId[]? device_list, char[]? options = null, ProgramBuiltCallback? pfn_notify = null, void* user_data = null)
- public Mem CreateBuffer (Context context, MemFlags flags, size_t size, void* host_ptr, out ErrorCode errcode_ret)
- public CommandQueue CreateCommandQueue (Context context, DeviceId device, CommandQueueProperties properties, out ErrorCode errcode_ret)
- public Context CreateContext (ContextProperties* properties, uint num_devices, DeviceId* devices, ErrorNotify? pfn_notify, void* user_data, out ErrorCode errcode_ret)
- public Context CreateContextFromType (ContextProperties* properties, DeviceType device_type, ErrorNotify? pfn_notify, void* user_data, out ErrorCode errcode_ret)
- public Mem CreateImage2D (Context context, MemFlags flags, ImageFormat* image_format, size_t image_width, size_t image_height, size_t image_row_pitch, void* host_ptr, out ErrorCode errcode_ret)
- public Mem CreateImage3D (Context context, MemFlags flags, ImageFormat* image_format, size_t image_width, size_t image_height, size_t image_depth, size_t image_row_pitch, size_t image_slice_pitch, void* host_ptr, out ErrorCode errcode_ret)
- public Kernel CreateKernel (Program program, char[] kernel_name, out ErrorCode errcode_ret)
- public ErrorCode CreateKernelsInProgram (Program program, uint num_kernels, Kernel* kernels, out uint num_kernels_ret)
- public Program CreateProgramWithBinary (Context context, uint num_devices, DeviceId* device_list, size_t* lengths, uchar** binaries, int* binary_status, out ErrorCode errcode_ret)
- public Program CreateProgramWithSource (Context context, uint count, char[] strings, size_t[] lengths, out ErrorCode errcode_ret)
- public Sampler CreateSampler (Context context, bool normalized_coords, AddressingMode addressing_mode, FilterMode filter_mode, out ErrorCode errcode_ret)
- public Mem CreateSubBuffer (Mem buffer, MemFlags flags, BufferCreateType buffer_create_type, void* buffer_create_info, out ErrorCode errcode_ret)
- public Event CreateUserEvent (Context context, out ErrorCode errcode_ret)
- public ErrorCode EnqueueBarrier (CommandQueue command_queue)
- public ErrorCode EnqueueCopyBuffer (CommandQueue command_queue, Mem src_buffer, Mem dst_buffer, size_t src_offset, size_t dst_offset, size_t cb, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueCopyBufferRect (CommandQueue command_queue, Mem src_buffer, Mem dst_buffer, size_t* src_origin, size_t* dst_origin, size_t* region, size_t src_row_pitch, size_t src_slice_pitch, size_t dst_row_pitch, size_t dst_slice_pitch, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueCopyBufferToImage (CommandQueue command_queue, Mem src_buffer, Mem dst_image, size_t src_offset, size_t*[] dst_origin, size_t*[] region, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueCopyImage (CommandQueue command_queue, Mem src_image, Mem dst_image, size_t*[] src_origin, size_t*[] dst_origin, size_t*[] region, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueCopyImageToBuffer (CommandQueue command_queue, Mem src_image, Mem dst_buffer, size_t*[] src_origin, size_t*[] region, size_t dst_offset, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public void* EnqueueMapBuffer (CommandQueue command_queue, Mem buffer, bool blocking_map, MapFlags map_flags, size_t offset, size_t cb, uint num_events_in_wait_list, Event* event_wait_list, out Event event, out ErrorCode errcode_ret)
- public void* EnqueueMapImage (CommandQueue command_queue, Mem image, bool blocking_map, MapFlags map_flags, size_t*[] origin, size_t*[] region, size_t* image_row_pitch, size_t* image_slice_pitch, uint num_events_in_wait_list, Event* event_wait_list, out Event event, out ErrorCode errcode_ret)
- public ErrorCode EnqueueMarker (CommandQueue command_queue, Event* event)
- public ErrorCode EnqueueNDRangeKernel (CommandQueue command_queue, Kernel kernel, uint work_dim, size_t* global_work_offset, size_t* global_work_size, size_t* local_work_size, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueNativeKernel (CommandQueue command_queue, void* user_func, void* args, size_t cb_args, uint num_mem_objects, Mem* mem_list, void** args_mem_loc, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueReadBuffer (CommandQueue command_queue, Mem buffer, bool blocking_read, size_t offset, size_t cb, void* ptr, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueReadBufferRect (CommandQueue command_queue, Mem buffer, bool blocking_read, size_t* buffer_origin, size_t* host_origin, size_t* region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, void* ptr, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueReadImage (CommandQueue command_queue, Mem image, bool blocking_read, size_t*[] origin, size_t*[] region, size_t row_pitch, size_t slice_pitch, void* ptr, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueTask (CommandQueue command_queue, Kernel kernel, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueUnmapMemObject (CommandQueue command_queue, Mem memobj, void* mapped_ptr, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueWaitForEvents (CommandQueue command_queue, uint num_events, Event event_list)
- public ErrorCode EnqueueWriteBuffer (CommandQueue command_queue, Mem buffer, bool blocking_write, size_t offset, size_t cb, void* ptr, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueWriteBufferRect (CommandQueue command_queue, Mem buffer, bool blocking_write, size_t* buffer_origin, size_t* host_origin, size_t* region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, void* ptr, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode EnqueueWriteImage (CommandQueue command_queue, Mem image, bool blocking_write, size_t*[] origin, size_t*[] region, size_t input_row_pitch, size_t input_slice_pitch, void* ptr, uint num_events_in_wait_list, Event* event_wait_list, out Event event)
- public ErrorCode Finish (CommandQueue command_queue)
- public ErrorCode Flush (CommandQueue command_queue)
- public ErrorCode GetCommandQueueInfo (CommandQueue command_queue, CommandQueueInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetContextInfo (Context context, ContextInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetDeviceIDs (PlatformId platform, DeviceType device_type, int num_entries, DeviceId* devices, out uint num_devices)
- public ErrorCode GetDeviceInfo (DeviceId device, DeviceInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetEventInfo (Event event, EventInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetEventProfilingInfo (Event event, ProfilingInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public void* GetExtensionFunctionAddress (char* func_name)
- public ErrorCode GetImageInfo (Mem image, ImageInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetKernelInfo (Kernel kernel, KernelInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetKernelWorkGroupInfo (Kernel kernel, DeviceId device, KernelWorkGroupInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetMemObjectInfo (Mem memobj, MemInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetPlatformIDs (uint num_entries, PlatformId* platforms, out uint num_platforms)
- public ErrorCode GetPlatformInfo (PlatformId platform, PlatformInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public int GetProgramBuildInfo (Program program, DeviceId device, ProgramBuildInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public int GetProgramInfo (Program program, ProgramInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public int GetSamplerInfo (Sampler sampler, SamplerInfo param_name, size_t param_value_size, void* param_value, out size_t param_value_size_ret)
- public ErrorCode GetSupportedImageFormats (Context context, MemFlags flags, MemObjectType image_type, uint num_entries, ImageFormat* image_formats, out uint num_image_formats)
- public ErrorCode ReleaseCommandQueue (CommandQueue command_queue)
- public int ReleaseContext (Context context)
- public ErrorCode ReleaseEvent (Event event)
- public ErrorCode ReleaseKernel (Kernel kernel)
- public ErrorCode ReleaseMemObject (Mem memobj)
- public int ReleaseProgram (Program program)
- public int ReleaseSampler (Sampler sampler)
- public ErrorCode RetainCommandQueue (CommandQueue command_queue)
- public int RetainContext (Context context)
- public ErrorCode RetainEvent (Event event)
- public ErrorCode RetainKernel (Kernel kernel)
- public ErrorCode RetainMemObject (Mem memobj)
- public int RetainProgram (Program program)
- public int RetainSampler (Sampler sampler)
- public ErrorCode SetEventCallback (Event event, int command_exec_callback_type, EventCallback pfn_notify, void* user_data)
- public ErrorCode SetKernelArg (Kernel kernel, uint arg_index, size_t arg_size, void* arg_value)
- public ErrorCode SetMemObjectDestructorCallback (Mem memobj, DestructorCallback? pfn_notify, void* user_data)
- public ErrorCode SetUserEventStatus (Event event, out int execution_status)
- public int UnloadCompiler ()
- public ErrorCode WaitForEvents (Event[] event_list)