[package]
name = "zer-compute"
version = "1.1.0"
edition = "2021"
description = "Hardware-accelerated backend for zer, pairwise comparison and EM via CUDA, Vulkan, or AVX2"
license = "Apache-2.0"
repository = "https://github.com/ZAL-Analytics/zer"
keywords = ["cuda", "gpu", "entity-resolution", "avx2", "simd"]
categories = ["algorithms", "science"]
readme = "README.md"
[features]
default = []
cuda = ["dep:cudarc", "zer-prof/cuda"]
vulkan = ["dep:ash", "dep:gpu-allocator", "zer-prof/vulkan"]
avx2 = ["dep:rayon", "zer-prof/avx2"]
cpu = ["zer-prof/cpu"]
debug-shaders = []
[dependencies]
zer-core = { path = "../zer-core", version = "1.1" }
zer-compare = { path = "../zer-compare", version = "1.1" }
zer-prof = { path = "../zer-prof", version = "1.1" }
rayon = { workspace = true, optional = true }
serde = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
bytemuck = { version = "1", features = ["derive"] }
cudarc = { version = "0.19.4", default-features = false, features = [
"std", "driver", "nvrtc", "cuda-version-from-build-system", "fallback-dynamic-loading",
], optional = true }
ash = { version = "0.38", optional = true }
gpu-allocator = { version = "0.27", optional = true }
[dev-dependencies]
csv = "1"
rand = "0.8"
zer-test-utils = { path = "../zer-test-utils" }