clblast

A wrapper for CLBlast, an OpenCL BLAS library

Wrapper score 30/100 · tests present · docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version 0.0.2
License Apache License 2.0
CI Status Failing
Downloads 0
Last Indexed 2026-09-02 07:21

Authors

  • Mamy André-Ratsimbazafy

Installation

nimble install clblast
choosenim install clblast
git clone https://github.com/numforge/nim-clblast

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
clblast - - - - - - -

Dependencies

Package Version Optional
nim >= 0.17.2", "opencl No

Source

Repository https://github.com/numforge/nim-clblast
Homepage https://github.com/numforge/nim-clblast
Documentation View Documentation
Registry Source nimble_official

README

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.