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