Cargo Features

[dependencies]
mwa_hyperdrive = { version = "0.3.0", default-features = false, features = ["cuda", "hip", "gpu-single", "plotting", "fontconfig-dlopen", "cfitsio-static", "hdf5-static", "cuda-static", "all-static"] }
default = plotting

The plotting feature is set by default whenever mwa_hyperdrive is added without default-features = false somewhere in the dependency tree.

cuda = cc, cuda-runtime-sys

Use CUDA code with double-precision floats.

Enables cuda of mwa_hyperbeam ^0.6.0

Affects beam::Beam.prepare_gpu_beam, beam::BeamGpu

hip = cc, hip-sys

Use HIP code with double-precision floats.

Enables hip of mwa_hyperbeam ^0.6.0

Affects beam::Beam.prepare_gpu_beam, beam::BeamGpu

gpu-single

Opt-out of GPU double precision, use only single precision (faster on desktop GPUs).

Enables gpu-single of mwa_hyperbeam ^0.6.0

plotting default = plotters

Enable plotting.

fontconfig-dlopen

Use dlopen to find libfontconfig at runtime.

Enables fontconfig-dlopen of plotters

"plotting" feature

cfitsio-static all-static?

Compile cfitsio statically and link it

Enables fitsio-src of fitsio-sys ^0.4.0

hdf5-static all-static?

Compile HDF5 statically and link it

Enables hdf5-static of mwa_hyperbeam ^0.6.0

cuda-static all-static?

Link CUDA statically

Enables cuda-static of mwa_hyperbeam ^0.6.0

all-static = cfitsio-static, cuda-static, hdf5-static

Link all C dependencies statically

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.

cuda-runtime-sys cuda?

Enables cuda-runtime-sys

"cuda" feature

hip-sys hip?

Enables hip-sys

"hip" feature

plotters fontconfig-dlopen? plotting
cc build cuda? hip?