Cargo Features

[dependencies]
opencl3 = { version = "0.9.5", 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", "serde"] }
CL_VERSION_1_1 default

Enables CL_VERSION_1_1 of cl3 ^0.9

CL_VERSION_1_2 default

Enables CL_VERSION_1_2 of cl3 ^0.9

Affects device::SubDevice

CL_VERSION_2_0 default

Enables CL_VERSION_2_0 of cl3 ^0.9

Affects opencl3::svm, memory::Pipe

CL_VERSION_2_1

Enables CL_VERSION_2_1 of cl3 ^0.9

CL_VERSION_2_2

Enables CL_VERSION_2_2 of cl3 ^0.9

CL_VERSION_3_0

Enables CL_VERSION_3_0 of cl3 ^0.9

cl_apple_setmemobjectdestructor

Enables cl_apple_setmemobjectdestructor of cl3 ^0.9

cl_apple_contextloggingfunctions

Enables cl_apple_contextloggingfunctions of cl3 ^0.9

cl_khr_icd

Enables cl_khr_icd of cl3 ^0.9

Affects platform::icd_get_platform_ids_khr

cl_khr_il_program

Enables cl_khr_il_program of cl3 ^0.9

cl_khr_terminate_context

Enables cl_khr_terminate_context of cl3 ^0.9

cl_khr_create_command_queue

Enables cl_khr_create_command_queue of cl3 ^0.9

cl_ext_device_fission

Enables cl_ext_device_fission of cl3 ^0.9

cl_ext_migrate_memobject

Enables cl_ext_migrate_memobject of cl3 ^0.9

cl_qcom_ext_host_ptr

Enables cl_qcom_ext_host_ptr of cl3 ^0.9

cl_img_use_gralloc_ptr

Enables cl_img_use_gralloc_ptr of cl3 ^0.9

cl_img_generate_mipmap

Enables cl_img_generate_mipmap of cl3 ^0.9

cl_khr_subgroups

Enables cl_khr_subgroups of cl3 ^0.9

cl_khr_suggested_local_work_size

Enables cl_khr_suggested_local_work_size of cl3 ^0.9

cl_khr_external_memory

Enables cl_khr_external_memory of cl3 ^0.9

cl_khr_external_semaphore

Enables cl_khr_external_semaphore of cl3 ^0.9

cl_khr_external_semaphore_sync_fd

Enables cl_khr_external_semaphore_sync_fd of cl3 ^0.9

cl_khr_semaphore

Enables cl_khr_semaphore of cl3 ^0.9

cl_arm_import_memory

Enables cl_arm_import_memory of cl3 ^0.9

cl_arm_shared_virtual_memory

Enables cl_arm_shared_virtual_memory of cl3 ^0.9

cl_intel_accelerator

Enables cl_intel_accelerator of cl3 ^0.9

cl_intel_unified_shared_memory

Enables cl_intel_unified_shared_memory of cl3 ^0.9

cl_intel_create_buffer_with_properties

Enables cl_intel_create…with_properties of cl3 ^0.9

cl_intel_program_scope_host_pipe

Enables cl_intel_program_scope_host_pipe of cl3 ^0.9

cl_ext_image_requirements_info

Enables cl_ext_image_requirements_info of cl3 ^0.9

cl_khr_command_buffer

Enables cl_khr_command_buffer of cl3 ^0.9

Affects opencl3::command_buffer

cl_khr_command_buffer_multi_device

Enables cl_khr_command_buffer_multi_device of cl3 ^0.9

cl_khr_command_buffer_mutable_dispatch

Enables cl_khr_command…mutable_dispatch of cl3 ^0.9

cl_khr_gl_sharing

Enables cl_khr_gl_sharing of cl3 ^0.9

Affects context::get_current_device_for_gl_context_khr, context::get_devices_for_gl_context_khr

cl_khr_gl_event

Enables cl_khr_gl_event of cl3 ^0.9

cl_khr_egl_image

Enables cl_khr_egl_image of cl3 ^0.9

cl_khr_egl_event

Enables cl_khr_egl_event of cl3 ^0.9

cl_khr_dx9_media_sharing

Enables cl_khr_dx9_media_sharing of cl3 ^0.9

cl_intel_dx9_media_sharing

Enables cl_intel_dx9_media_sharing of cl3 ^0.9

cl_khr_d3d10_sharing

Enables cl_khr_d3d10_sharing of cl3 ^0.9

cl_khr_d3d11_sharing

Enables cl_khr_d3d11_sharing of cl3 ^0.9

cl_loader_info

Enables cl_loader_info of cl3 ^0.9

cl_pocl_content_size

Enables cl_pocl_content_size of cl3 ^0.9

cl_loader_layers

Enables cl_loader_layers of cl3 ^0.9

default = CL_VERSION_1_1, CL_VERSION_1_2, CL_VERSION_2_0

Default features:

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects svm::ExtendSvmVec