Cargo Features
[dependencies]
fil-ocl-core = { version = "0.11.4", default-features = false, features = ["opencl_version_1_1", "opencl_version_1_2", "opencl_version_2_0", "opencl_version_2_1", "opencl_vendor_mesa", "ocl-core-vector"] }
- default = ocl-core-vector, opencl_version_1_1, opencl_version_1_2
-
These default features are set whenever
fil-ocl-core
is added without
somewhere in the dependency tree.default-features = false - opencl_version_1_1 default
-
Enables opencl_version_1_1 of cl-sys
cl-sys:
Specifies the OpenCL version supported by the library being used. Generally,
OpenCL v2.0+ support is still sparse. - opencl_version_1_2 default
-
Enables opencl_version_1_2 of cl-sys
Affects
functions::compile_program
,functions::link_program
… - opencl_version_2_0
-
Enables opencl_version_2_0 of cl-sys
- opencl_version_2_1
-
Enables opencl_version_2_1 of cl-sys
Affects
functions::create_program_with_il
… - opencl_vendor_mesa
-
Enables opencl_vendor_mesa of cl-sys
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- ocl-core-vector default
-
Enables ocl-core-vector
Implements all of the vector types and traits.