custos-math
This crate provides CUDA, OpenCL and CPU 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.1.3"
= "0.1.5"
# to disable the default features (cuda, opencl) and use an own set of features:
#custos-math = {version = "0.1.3", default-features=false, features=["opencl", "safe"]}
#custos = { version="0.1.5", default-features = false, features=["opencl", "safe"]}
Example
use ;
use Matrix;
Many more examples can be found in the tests and examples folder.