# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65" name = "custos-math" version = "0.6.3" description = "Matrix operations with custos" readme = "README.md" keywords = [ "CUDA", "OpenCL", "arrays", "matrices", "deep-learning", ] categories = [ "mathematics", "science", "no-std", ] license = "MIT" repository = "https://github.com/elftausend/custos-math" [package.metadata.docs.rs] rustc-args = [ "--cfg", "docsrs", ] [[example]] name = "cpu_cache" required-features = ["cpu"] [[example]] name = "cpu_device" required-features = ["cpu"] [[example]] name = "gemm" required-features = ["cpu"] [[example]] name = "simple" required-features = ["opencl"] [[test]] name = "matrix" required-features = ["cpu"] [[test]] name = "math" required-features = ["cpu"] [[test]] name = "switching" required-features = ["opencl"] [[test]] name = "threading_realloc" required-features = ["realloc"] [[test]] name = "realloc" required-features = ["realloc"] [dependencies.custos] version = "0.6.3" features = ["macro"] default-features = false [dependencies.fastrand] version = "1.8.0" optional = true [dependencies.matrixmultiply] version = "0.3.2" optional = true default-features = false [build-dependencies] [features] blas = ["custos/blas"] cpu = ["custos/cpu"] cuda = [ "custos/cuda", "cpu", ] default = ["opencl"] no-std = [ "custos/no-std", "stack", ] opencl = [ "custos/opencl", "cpu", ] realloc = ["custos/realloc"] stack = ["custos/stack"] static-api = ["custos/static-api"]