Cargo Features

mwa_hyperbeam has no features set by default.

[dependencies]
mwa_hyperbeam = { version = "0.10.0", features = ["hdf5-static", "cuda-static", "all-static", "python", "cuda", "hip", "gpu-single"] }
hdf5-static all-static? = hdf5-metno-sys
cuda-static all-static?
all-static = cuda-static, hdf5-static
python = numpy, pyo3
cuda = cc, cuda-runtime-sys

Provide beam functionality with CUDA, double precision.

Affects ffi::new_gpu_analytic_beam, ffi::analytic_calc_jones_gpu, ffi::analytic_calc_jones_gpu_device, ffi::analytic_calc_jones_gpu_device_inner, ffi::get_analytic_tile_map, ffi::get_analytic_device_tile_map, ffi::get_num_unique_analytic_tiles, ffi::free_gpu_analytic_beam, ffi::new_gpu_fee_beam, ffi::fee_calc_jones_gpu, ffi::fee_calc_jones_gpu_device, ffi::fee_calc_jones_gpu_device_inner, ffi::get_fee_tile_map, ffi::get_fee_device_tile_map, ffi::get_fee_freq_map, ffi::get_fee_device_freq_map

hip = cc, hip-sys

Provide beam functionality with HIP, double precision.

Affects ffi::new_gpu_analytic_beam, ffi::analytic_calc_jones_gpu, ffi::analytic_calc_jones_gpu_device, ffi::analytic_calc_jones_gpu_device_inner, ffi::get_analytic_tile_map, ffi::get_analytic_device_tile_map, ffi::get_num_unique_analytic_tiles, ffi::free_gpu_analytic_beam, ffi::new_gpu_fee_beam, ffi::fee_calc_jones_gpu, ffi::fee_calc_jones_gpu_device, ffi::fee_calc_jones_gpu_device_inner, ffi::get_fee_tile_map, ffi::get_fee_device_tile_map, ffi::get_fee_freq_map, ffi::get_fee_device_freq_map

gpu-single

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

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.

hdf5-metno-sys hdf5-static?
cuda-runtime-sys cuda?
hip-sys hip?
pyo3 python?

Enables pyo3 ^0.22.0

numpy python?

Enables numpy ^0.22.1

cc build cuda? hip?