Skip to content

A Nim wrapper for CLBlast, a tuned OpenCL BLAS library

License

Notifications You must be signed in to change notification settings

mratsim/nim-clblast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nim-CLBlast

License Stability

Nim CLBlast is a wrapper for CLBlast, an OpenCL BLAS library

APIs exposed

The wrapper exposes:

  • the core CLBlast API, this requires dealing with low-level opencl like memory allocation.
  • the Netlib API that can be used as a drop-in replacement to classic BLAS libraries like OpenBLAS (or nimblas in Nim case). This doesn't require any OpenCL knowledge or setup, everything is handled by CLBlast, however each function call will require a copy of input to the OpenCL device and a copy of the result from the OpenCL device.

A check template is provided to automatically check the error return values of all CLBlast calls.

Full documentation

Please refer to CLBlast repo.

About

A Nim wrapper for CLBlast, a tuned OpenCL BLAS library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published