-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
85 lines (74 loc) · 3.56 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[package]
name = "cl3"
version = "0.10.0"
authors = ["Ken Barker <[email protected]>"]
description = "A Rust implementation of the Khronos OpenCL 3.0 API and extensions."
documentation = "https://docs.rs/cl3/"
homepage = "https://github.com/kenba/cl3"
repository = "https://github.com/kenba/cl3"
readme = "README.md"
keywords = ["opencl", "gpu", "gpgpu", "ffi", "api"]
categories = ["api-bindings", "asynchronous", "external-ffi-bindings"]
license = "Apache-2.0"
edition = "2021"
[features]
CL_VERSION_1_1 = ["opencl-sys/CL_VERSION_1_1"]
CL_VERSION_1_2 = ["opencl-sys/CL_VERSION_1_2"]
CL_VERSION_2_0 = ["opencl-sys/CL_VERSION_2_0"]
CL_VERSION_2_1 = ["opencl-sys/CL_VERSION_2_1"]
CL_VERSION_2_2 = ["opencl-sys/CL_VERSION_2_2"]
CL_VERSION_3_0 = ["opencl-sys/CL_VERSION_3_0"]
cl_apple_setmemobjectdestructor = ["opencl-sys/cl_apple_setmemobjectdestructor"]
cl_apple_contextloggingfunctions = ["opencl-sys/cl_apple_contextloggingfunctions"]
cl_khr_icd = ["opencl-sys/cl_khr_icd"]
cl_khr_il_program = ["opencl-sys/cl_khr_il_program"]
cl_khr_terminate_context = ["opencl-sys/cl_khr_terminate_context"]
cl_khr_create_command_queue = ["opencl-sys/cl_khr_create_command_queue"]
cl_ext_device_fission = ["opencl-sys/cl_ext_device_fission"]
cl_ext_migrate_memobject = ["opencl-sys/cl_ext_migrate_memobject"]
cl_qcom_ext_host_ptr = ["opencl-sys/cl_qcom_ext_host_ptr"]
cl_img_use_gralloc_ptr = ["opencl-sys/cl_img_use_gralloc_ptr"]
cl_img_generate_mipmap = ["opencl-sys/cl_img_generate_mipmap"]
cl_khr_subgroups = ["opencl-sys/cl_khr_subgroups"]
cl_khr_suggested_local_work_size = ["opencl-sys/cl_khr_suggested_local_work_size"]
cl_khr_external_memory = ["opencl-sys/cl_khr_external_memory"]
cl_khr_external_semaphore = ["opencl-sys/cl_khr_external_semaphore"]
cl_khr_external_semaphore_sync_fd = ["opencl-sys/cl_khr_external_semaphore_sync_fd"]
cl_khr_semaphore = ["opencl-sys/cl_khr_semaphore"]
cl_arm_import_memory = ["opencl-sys/cl_arm_import_memory"]
cl_arm_shared_virtual_memory = ["opencl-sys/cl_arm_shared_virtual_memory"]
cl_intel_accelerator = ["opencl-sys/cl_intel_accelerator"]
cl_intel_unified_shared_memory = ["opencl-sys/cl_intel_unified_shared_memory"]
cl_intel_create_buffer_with_properties = ["opencl-sys/cl_intel_create_buffer_with_properties"]
cl_intel_program_scope_host_pipe = ["opencl-sys/cl_intel_program_scope_host_pipe"]
cl_ext_image_requirements_info = ["opencl-sys/cl_ext_image_requirements_info"]
cl_khr_command_buffer = ["opencl-sys/cl_khr_command_buffer"]
cl_khr_command_buffer_multi_device = ["opencl-sys/cl_khr_command_buffer_multi_device"]
cl_khr_command_buffer_mutable_dispatch = ["opencl-sys/cl_khr_command_buffer_mutable_dispatch"]
cl_khr_gl_sharing = ["opencl-sys/cl_khr_gl_sharing"]
cl_khr_gl_event = ["opencl-sys/cl_khr_gl_event"]
cl_khr_egl_image = ["opencl-sys/cl_khr_egl_image"]
cl_khr_egl_event = ["opencl-sys/cl_khr_egl_event"]
cl_khr_dx9_media_sharing = ["opencl-sys/cl_khr_dx9_media_sharing"]
cl_intel_dx9_media_sharing = ["opencl-sys/cl_intel_dx9_media_sharing"]
cl_khr_d3d10_sharing = ["opencl-sys/cl_khr_d3d10_sharing"]
cl_khr_d3d11_sharing = ["opencl-sys/cl_khr_d3d11_sharing"]
cl_loader_info = ["opencl-sys/cl_loader_info"]
cl_pocl_content_size = ["opencl-sys/cl_pocl_content_size"]
cl_loader_layers = ["opencl-sys/cl_loader_layers"]
# Default features:
default = ["CL_VERSION_1_1", "CL_VERSION_1_2"]
[dependencies]
libc = "0.2"
opencl-sys = "0.3"
thiserror = "1.0"
[[example]]
name = "clinfo"
path = "examples/clinfo.rs"
[lints.clippy]
enum_glob_use = "deny"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
nursery = "deny"
pedantic = "deny"
unwrap_used = "deny"