Cargo Features

[dependencies]
zyx-opencl = { version = "0.1.1", default-features = false, features = ["std", "debug1", "CL_VERSION_1_1", "CL_VERSION_1_2", "CL_VERSION_2_1"] }
default = CL_VERSION_1_1, CL_VERSION_1_2, std

These default features are set whenever zyx-opencl is added without default-features = false somewhere in the dependency tree.

std default

Enables std of zyx-compiler and zyx-core

debug1

Affects compiler::get_device_data

CL_VERSION_1_1 default

Enables CL_VERSION_1_1 of opencl-sys ^0.2.8

CL_VERSION_1_2 default

Enables CL_VERSION_1_2 of opencl-sys ^0.2.8

CL_VERSION_2_1

Enables CL_VERSION_2_1 of opencl-sys ^0.2.8