[package]
edition = "2024"
name = "easy-async-opencl3"
version = "0.2.4"
authors = ["wayavl encrucija2@gmail.com"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A declarative, multi-device asynchronous executor for OpenCL based on cl3."
readme = "README.md"
keywords = [
"opencl",
"async",
"gpu",
"multi-device",
"parallel",
]
categories = [
"asynchronous",
"rendering::data-formats",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wayavl/easy-async-cl3"
[features]
CL_VERSION_1_1 = ["cl3/CL_VERSION_1_1"]
CL_VERSION_1_2 = [
"cl3/CL_VERSION_1_2",
"CL_VERSION_1_1",
]
CL_VERSION_2_0 = [
"cl3/CL_VERSION_2_0",
"CL_VERSION_1_2",
]
CL_VERSION_2_1 = [
"cl3/CL_VERSION_2_1",
"CL_VERSION_2_0",
]
CL_VERSION_2_2 = [
"cl3/CL_VERSION_2_2",
"CL_VERSION_2_1",
]
CL_VERSION_3_0 = [
"cl3/CL_VERSION_3_0",
"CL_VERSION_2_2",
]
cl_apple_contextloggingfunctions = ["cl3/cl_apple_contextloggingfunctions"]
cl_apple_setmemobjectdestructor = ["cl3/cl_apple_setmemobjectdestructor"]
cl_arm_import_memory = ["cl3/cl_arm_import_memory"]
cl_arm_shared_virtual_memory = ["cl3/cl_arm_shared_virtual_memory"]
cl_ext_buffer_device_address = ["cl3/cl_ext_buffer_device_address"]
cl_ext_device_fission = ["cl3/cl_ext_device_fission"]
cl_ext_image_requirements_info = ["cl3/cl_ext_image_requirements_info"]
cl_ext_migrate_memobject = ["cl3/cl_ext_migrate_memobject"]
cl_img_cancel_command = ["cl3/cl_img_cancel_command"]
cl_img_generate_mipmap = ["cl3/cl_img_generate_mipmap"]
cl_img_use_gralloc_ptr = ["cl3/cl_img_use_gralloc_ptr"]
cl_intel_accelerator = ["cl3/cl_intel_accelerator"]
cl_intel_create_buffer_with_properties = ["cl3/cl_intel_create_buffer_with_properties"]
cl_intel_dx9_media_sharing = ["cl3/cl_intel_dx9_media_sharing"]
cl_intel_program_scope_host_pipe = ["cl3/cl_intel_program_scope_host_pipe"]
cl_intel_unified_shared_memory = ["cl3/cl_intel_unified_shared_memory"]
cl_khr_command_buffer = ["cl3/cl_khr_command_buffer"]
cl_khr_command_buffer_multi_device = ["cl3/cl_khr_command_buffer_multi_device"]
cl_khr_command_buffer_mutable_dispatch = ["cl3/cl_khr_command_buffer_mutable_dispatch"]
cl_khr_create_command_queue = ["cl3/cl_khr_create_command_queue"]
cl_khr_d3d10_sharing = ["cl3/cl_khr_d3d10_sharing"]
cl_khr_d3d11_sharing = ["cl3/cl_khr_d3d11_sharing"]
cl_khr_dx9_media_sharing = ["cl3/cl_khr_dx9_media_sharing"]
cl_khr_egl_event = ["cl3/cl_khr_egl_event"]
cl_khr_egl_image = ["cl3/cl_khr_egl_image"]
cl_khr_external_memory = ["cl3/cl_khr_external_memory"]
cl_khr_external_semaphore = ["cl3/cl_khr_external_semaphore"]
cl_khr_external_semaphore_sync_fd = ["cl3/cl_khr_external_semaphore_sync_fd"]
cl_khr_gl_event = ["cl3/cl_khr_gl_event"]
cl_khr_gl_sharing = ["cl3/cl_khr_gl_sharing"]
cl_khr_icd = ["cl3/cl_khr_icd"]
cl_khr_il_program = ["cl3/cl_khr_il_program"]
cl_khr_semaphore = ["cl3/cl_khr_semaphore"]
cl_khr_subgroups = ["cl3/cl_khr_subgroups"]
cl_khr_suggested_local_work_size = ["cl3/cl_khr_suggested_local_work_size"]
cl_khr_terminate_context = ["cl3/cl_khr_terminate_context"]
cl_loader_info = ["cl3/cl_loader_info"]
cl_loader_layers = ["cl3/cl_loader_layers"]
cl_pocl_content_size = ["cl3/cl_pocl_content_size"]
cl_qcom_ext_host_ptr = ["cl3/cl_qcom_ext_host_ptr"]
cl_qcom_perf_hint = ["cl3/cl_qcom_perf_hint"]
default = ["CL_VERSION_3_0"]
[lib]
name = "easy_async_opencl3"
path = "src/lib.rs"
[[test]]
name = "api_guide"
path = "tests/api_guide.rs"
[[test]]
name = "buffer_and_image_ops"
path = "tests/buffer_and_image_ops.rs"
[[test]]
name = "pipe_test"
path = "tests/pipe_test.rs"
[[test]]
name = "pipeline_test"
path = "tests/pipeline_test.rs"
[dependencies.cl3]
version = "0.13.1"
[dependencies.futures]
version = "0.3"
[dependencies.tokio]
version = "1.48.0"
features = ["sync"]
[dev-dependencies.tokio]
version = "1.48.0"
features = [
"sync",
"macros",
"rt-multi-thread",
]