Cargo Features

[dependencies]
sparkl3d-core = { version = "0.4.0", default-features = false, features = ["dim3", "f32", "serde-serialize", "cuda"] }
default = dim3, f32

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

dim3 default

Affects cuda::G2P2G_THREADS, gpu_grid::NUM_CELL_PER_BLOCK, gpu_grid::NUM_ASSOC_BLOCKS, gpu_grid::NBH_SHIFTS, gpu_grid::NBH_SHIFTS_SHARED

f32 default
serde-serialize = serde

Enables serde-serialize of nalgebra ^0.32

cuda = cust, cust_core

Enables cuda of nalgebra ^0.32

Affects lib::cuda, testbed_plugin::UserCudaCallback, testbed_plugin::MpmTestbedPlugin.cuda_callbacks, testbed_plugin::MpmTestbedPlugin.last_timing

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.

cust_core cuda?
serde serde-serialize?

Enables serde

Serialization

cust not cuda cuda?