custos-math
This crate provides CUDA, OpenCL, CPU (and Stack) based matrix operations using custos.
Installation
Add "custos-math" as a dependency: You will also need custos, if you want to run an example.
[]
= "0.6.3"
# to disable the default features (cuda, opencl) and use an own set of features:
#custos-math = { version="0.6.3", default-features = false, features=["opencl"]}
custos-math supports no-std via the no-std feature. This activates the "stack" feature, providing a Stack device.
custos is accessible via custos_math::custos::{..}
Example
use ;
Many more examples can be found in the tests and examples folder.