No description
Find a file
Vindaar cdadb10dd8
fix pragma syntax for modern Nim (#1)
* fix pragma syntax for modern Nim

* push v0.0.2
2023-10-19 09:30:50 +02:00
src fix pragma syntax for modern Nim (#1) 2023-10-19 09:30:50 +02:00
.gitignore initial commit 2018-02-14 22:58:28 +01:00
clblast.nimble fix pragma syntax for modern Nim (#1) 2023-10-19 09:30:50 +02:00
clblast_nimgen.cfg For command_queue CLBlast wants ptr to ptr + lowercase procs 2018-02-18 19:26:53 +01:00
LICENSE initial commit 2018-02-14 22:58:28 +01:00
README.md Add a check template + update readme 2018-02-17 23:28:21 +01:00

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.