docs.rs failed to build cumath-0.2.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
cumath
Cumath is a safe cuda wrapper for Rust : The goal is to make a zero-cost wrapper that allows you tu use cuda, cublas, and curand easily.
Install cuda before using cumath
/!\ This library is still under developement!
/!\ Cumath look for cuda libraries in /usr/bin/loca/cuda/lib64 (the default cuda path on linux) If it doesn't work for you, you can explicitly specify cuda path
Implemented :
- GPU memory management
- Vector
- Matrix
- CuBLAS
- CuRAND
- Cuda streams
- Data type genericity
To be implemented :
- cumath_nn : a Cudnn wrapper based on cumath
- User-definable Cuda kernels
- More built-in functions
- Improve automatic cuda-compatible c compiler detection
Won't be implemented
- Backend choice with CPU (This would rather be a higher level library)
Getting started
Add Cumath to your Cargo.toml:
[dependencies]
cumath = "0.2.6"
Then in your main.rs :
extern crate cumath;
Examples
Simple vector addition
extern crate cumath;
use *;
Matrix multiplication using CuBLAS
extern crate cumath;
use *;
For more info, run 'cargo doc --open'