Cargo Features

blaze-rs has no features set by default.

[dependencies]
blaze-rs = { version = "1.0.3", features = ["cl1_1", "cl1_2", "cl2", "cl2_1", "cl2_2", "cl3", "strict", "svm", "futures", "nightly"] }
cl1_1 cl1_2?

OpenCL version

Enables CL_VERSION_1_1 of opencl-sys ^0.2.1

cl1_2 cl2? = cl1_1

Enables CL_VERSION_1_2 of opencl-sys ^0.2.1

Affects flags::MemFlags.host_access, flags::ContextProperties.interop_user_sync

cl2 cl2_1? svm? = cl1_2

Enables CL_VERSION_2_0 of opencl-sys ^0.2.1

Affects profiling::ProfilingInfo.complete

cl2_1 cl2_2? = cl2

Enables CL_VERSION_2_1 of opencl-sys ^0.2.1

cl2_2 cl3? = cl2_1

Enables CL_VERSION_2_2 of opencl-sys ^0.2.1

cl3 = cl2_2

Enables CL_VERSION_3_0 of opencl-sys ^0.2.1

strict

Blaze features

svm = cl2, nightly

Enables alloc_api of utils-atomics

Affects blaze-rs::svm

futures

Enables futures, futures of utils-atomics

nightly svm?