Cargo Features

[dependencies]
cl3 = { version = "0.10.0", default-features = false, features = ["CL_VERSION_1_1", "CL_VERSION_1_2", "CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "cl_apple_setmemobjectdestructor", "cl_apple_contextloggingfunctions", "cl_khr_icd", "cl_khr_il_program", "cl_khr_terminate_context", "cl_khr_create_command_queue", "cl_ext_device_fission", "cl_ext_migrate_memobject", "cl_qcom_ext_host_ptr", "cl_img_use_gralloc_ptr", "cl_img_generate_mipmap", "cl_khr_subgroups", "cl_khr_suggested_local_work_size", "cl_khr_external_memory", "cl_khr_external_semaphore", "cl_khr_external_semaphore_sync_fd", "cl_khr_semaphore", "cl_arm_import_memory", "cl_arm_shared_virtual_memory", "cl_intel_accelerator", "cl_intel_unified_shared_memory", "cl_intel_create_buffer_with_properties", "cl_intel_program_scope_host_pipe", "cl_ext_image_requirements_info", "cl_khr_command_buffer", "cl_khr_command_buffer_multi_device", "cl_khr_command_buffer_mutable_dispatch", "cl_khr_gl_sharing", "cl_khr_gl_event", "cl_khr_egl_image", "cl_khr_egl_event", "cl_khr_dx9_media_sharing", "cl_intel_dx9_media_sharing", "cl_khr_d3d10_sharing", "cl_khr_d3d11_sharing", "cl_loader_info", "cl_pocl_content_size", "cl_loader_layers"] }
CL_VERSION_1_1 default

Enables CL_VERSION_1_1 of opencl-sys

CL_VERSION_1_2 default

Enables CL_VERSION_1_2 of opencl-sys

Affects command_queue::enqueue_fill_buffer, command_queue::enqueue_fill_image, command_queue::enqueue_migrate_mem_object, command_queue::enqueue_marker_with_wait_list, command_queue::enqueue_barrier_with_wait_list, device::create_sub_devices, device::retain_device, device::release_device, kernel::get_kernel_arg_data, kernel::get_kernel_arg_info, memory::create_image, program::create_program_with_builtin_kernels, program::compile_program, program::link_program, program::unload_platform_compiler

CL_VERSION_2_0

Enables CL_VERSION_2_0 of opencl-sys

Affects command_queue::create_command_queue_with_properties, command_queue::enqueue_svm_free, command_queue::enqueue_svm_mem_cpy, command_queue::enqueue_svm_mem_fill, command_queue::enqueue_svm_map, command_queue::enqueue_svm_unmap, kernel::set_kernel_arg_svm_pointer, kernel::set_kernel_exec_info, memory::create_pipe, memory::get_pipe_data, memory::get_pipe_info, memory::svm_alloc, memory::svm_free, sampler::create_sampler_with_properties

CL_VERSION_2_1

Enables CL_VERSION_2_1 of opencl-sys

Affects command_queue::enqueue_svm_migrate_mem, device::set_default_device_command_queue, device::get_device_and_host_timer, device::get_host_timer, kernel::clone_kernel, kernel::get_kernel_sub_group_info, program::create_program_with_il

CL_VERSION_2_2

Enables CL_VERSION_2_2 of opencl-sys

Affects program::set_program_specialization_constant

CL_VERSION_3_0

Enables CL_VERSION_3_0 of opencl-sys

Affects context::set_context_destructor_callback, memory::create_buffer_with_properties, memory::create_image_with_properties

cl_apple_setmemobjectdestructor

Enables cl_apple_setmemobjectdestructor of opencl-sys

Affects ext::set_mem_object_destructor_apple

cl_apple_contextloggingfunctions

Enables cl_apple_contextloggingfunctions of opencl-sys

cl_khr_icd

Enables cl_khr_icd of opencl-sys

Affects ext::icd_get_platform_ids_khr

cl_khr_il_program

Enables cl_khr_il_program of opencl-sys

Affects ext::create_program_with_il_khr

cl_khr_terminate_context

Enables cl_khr_terminate_context of opencl-sys

Affects ext::terminate_context_khr

cl_khr_create_command_queue

Enables cl_khr_create_command_queue of opencl-sys

Affects ext::create_command_queue_with_properties_khr

cl_ext_device_fission

Enables cl_ext_device_fission of opencl-sys

Affects ext::release_device_ext, ext::retain_device_ext, ext::create_sub_devices_ext

cl_ext_migrate_memobject

Enables cl_ext_migrate_memobject of opencl-sys

Affects ext::enqueue_migrate_mem_object_ext

cl_qcom_ext_host_ptr

Enables cl_qcom_ext_host_ptr of opencl-sys

Affects ext::get_device_image_info_qcom

cl_img_use_gralloc_ptr

Enables cl_img_use_gralloc_ptr of opencl-sys

Affects ext::enqueue_acquire_gralloc_objects_img, ext::enqueue_release_gralloc_objects_img

cl_img_generate_mipmap

Enables cl_img_generate_mipmap of opencl-sys

Affects ext::enqueue_generate_mipmap_img

cl_khr_subgroups

Enables cl_khr_subgroups of opencl-sys

Affects ext::get_kernel_sub_group_info_khr

cl_khr_suggested_local_work_size

Enables cl_khr_suggested_local_work_size of opencl-sys

Affects ext::get_kernel_suggested_local_work_size_khr

cl_khr_external_memory

Enables cl_khr_external_memory of opencl-sys

Affects ext::enqueue_acquire_external_mem_objects_khr, ext::enqueue_release_external_mem_objects_khr

cl_khr_external_semaphore

Enables cl_khr_external_semaphore of opencl-sys

Affects ext::get_semaphore_handle_for_type_khr

cl_khr_external_semaphore_sync_fd

Enables cl_khr_external_semaphore_sync_fd of opencl-sys

Affects ext::reimport_semaphore_sync_fd

cl_khr_semaphore

Enables cl_khr_semaphore of opencl-sys

Affects ext::create_semaphore_with_properties_khr, ext::enqueue_wait_semaphores_khr, ext::enqueue_signal_semaphores_khr, ext::get_semaphore_info_khr, ext::release_semaphore_khr, ext::retain_semaphore_khr

cl_arm_import_memory

Enables cl_arm_import_memory of opencl-sys

Affects ext::import_memory_arm

cl_arm_shared_virtual_memory

Enables cl_arm_shared_virtual_memory of opencl-sys

Affects ext::svm_alloc_arm, ext::svm_free_arm, ext::enqueue_svm_free_arm, ext::enqueue_svm_mem_cpy_arm, ext::enqueue_svm_mem_fill_arm, ext::enqueue_svm_map_arm, ext::enqueue_svm_unmap_arm, ext::set_kernel_arg_svm_pointer, ext::set_kernel_exec_info_arm

cl_intel_accelerator

Enables cl_intel_accelerator of opencl-sys

Affects ext::create_accelerator_intel, ext::get_accelerator_data_intel, ext::get_accelerator_info_intel, ext::retain_accelerator_intel, ext::release_accelerator_intel

cl_intel_unified_shared_memory

Enables cl_intel_unified_shared_memory of opencl-sys

Affects ext::host_mem_alloc_intel, ext::device_mem_alloc_intel, ext::shared_mem_alloc_intel, ext::mem_free_intel, ext::mem_blocking_free_intel, ext::get_mem_alloc_info_intel, ext::set_kernel_arg_mem_pointer_intel, ext::enqueue_mem_set_intel, ext::enqueue_mem_fill_intel, ext::enqueue_mem_copy_intel, ext::enqueue_migrate_mem_intel, ext::enqueue_mem_advise_intel

cl_intel_create_buffer_with_properties

Enables cl_intel_create…with_properties of opencl-sys

Affects ext::create_buffer_with_properties_intel

cl_intel_program_scope_host_pipe

Enables cl_intel_program_scope_host_pipe of opencl-sys

Affects ext::enqueue_read_host_pipe_intel, ext::enqueue_write_host_pipe_intel

cl_ext_image_requirements_info

Enables cl_ext_image_requirements_info of opencl-sys

Affects ext::get_image_requirements_info_ext

cl_khr_command_buffer

Enables cl_khr_command_buffer of opencl-sys

Affects ext::create_command_buffer_khr, ext::finalize_command_buffer_khr, ext::retain_command_buffer_khr, ext::release_command_buffer_khr, ext::enqueue_command_buffer_khr, ext::command_barrier_with_wait_list_khr, ext::command_copy_buffer_khr, ext::command_copy_buffer_rect_khr, ext::command_copy_buffer_to_image_khr, ext::command_copy_image_khr, ext::command_copy_image_to_buffer_khr, ext::command_fill_buffer_khr, ext::command_fill_image_khr, ext::command_nd_range_kernel_khr, ext::command_svm_memcpy_khr, ext::command_svm_mem_fill_khr

cl_khr_command_buffer_multi_device

Enables cl_khr_command_buffer_multi_device of opencl-sys

Affects ext::remap_command_buffer_khr

cl_khr_command_buffer_mutable_dispatch

Enables cl_khr_command…mutable_dispatch of opencl-sys

Affects ext::update_mutable_commands_khr, ext::get_command_buffer_mutable_dispatch_data

cl_khr_gl_sharing

Enables cl_khr_gl_sharing of opencl-sys

Affects gl::get_gl_context_info_khr

cl_khr_gl_event

Enables cl_khr_gl_event of opencl-sys

Affects gl::create_event_from_gl_sync_khr

cl_khr_egl_image

Enables cl_khr_egl_image of opencl-sys

Affects egl::create_from_egl_image, egl::enqueue_acquire_egl_objects, egl::enqueue_release_egl_objects

cl_khr_egl_event

Enables cl_khr_egl_event of opencl-sys

Affects egl::create_event_from_egl_sync_khr

cl_khr_dx9_media_sharing

Enables cl_khr_dx9_media_sharing of opencl-sys

Affects dx9_media_sharing::get_supported_dx9_media_surface_formats_intel

cl_intel_dx9_media_sharing

Enables cl_intel_dx9_media_sharing of opencl-sys

Affects dx9_media_sharing::get_device_ids_from_dx9_intel, dx9_media_sharing::create_from_dx9_media_surface_intel, dx9_media_sharing::enqueue_acquire_dx9_objects_intel, dx9_media_sharing::enqueue_release_dx9_objects_intel, dx9_media_sharing::get_supported_dx9_media_surface_formats_intel

cl_khr_d3d10_sharing

Enables cl_khr_d3d10_sharing of opencl-sys

Affects d3d10::get_supported_d3d10_texture_formats_intel

cl_khr_d3d11_sharing

Enables cl_khr_d3d11_sharing of opencl-sys

Affects d3d11::get_supported_d3d11_texture_formats_intel

cl_loader_info

Enables cl_loader_info of opencl-sys

Affects ext::get_icd_loader_info_oclicd

cl_pocl_content_size

Enables cl_pocl_content_size of opencl-sys

Affects ext::set_content_size_buffer_pocl

cl_loader_layers

Enables cl_loader_layers of opencl-sys

Affects cl3::layer

default = CL_VERSION_1_1, CL_VERSION_1_2

Default features: