Skip to main content

native/ex_cubecl_nif/Cargo.toml

[package]
name = "ex_cubecl_nif"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
description = "Nx backend for CubeCL via Rust NIFs"
repository = "https://github.com/tracel-ai/cubecl"

[lib]
name = "ex_cubecl_nif"
crate-type = ["cdylib", "staticlib"]

[dependencies]
rustler = "0.37"
half = "2"
bytemuck = "1"

# NOTE: CubeCL GPU integration is prepared but commented out until the crate
# is published with the needed features. Uncomment when ready:
# cubecl = { version = "0.1", features = ["wgpu"], optional = true }

[features]
default = []
# gpu = ["cubecl"]