Collective Knowledge packages for various mathematical libs to be plugged into portable and customizable CK research workflows:
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

compatibility License

This Collective Knowledge repository contains various mathematical libraries in the portable and customizable CK format with Js SON API and JSON meta information to be used in portable, customizable and reproducible CK research workflows.

Please feel free to provide extra packages to enable open and reproducible R&D!



  • BSD, 3-clause



 $ ck pull repo:ck-math


See available packages in this repository:

 $ ck list ck-math:package: | sort

Install any package on the host machine (Linux, MacOS or Windows) e.g.:

 $ ck install package:lib-openblas-0.3.3-universal

Install the above package for an Android target (if the Android SDK and NDK are installed):

 $ ck install package:lib-openblas-0.3.3-universal --target_os=android21-arm64

Please check the CK-Caffe repository to see how the above packages are used for customizable and universal DNN crowd-benchmarking and crowd-tuning.

Example: how to build and use the Arm Compute Library

You can build library for Android/aarch64 (NEON) and run a simple SGEMM benchmark as follows:

$ ck install package:lib-armcl-cpu-master --target_os=android21-arm64 --env.USE_NEON=ON
$ ck compile program:acl-sgemm-neon-example --target_os=android21-arm64
$ ck run program:acl-sgemm-neon-example --target_os=android21-arm64


@article {29db2248aba45e59:a31e374796869125,
   author = {Fursin, Grigori and Kashnikov, Yuriy and Memon, Abdul Wahid and Chamski, Zbigniew and Temam, Olivier and Namolaru, Mircea and Yom-Tov, Elad and Mendelson, Bilha and Zaks, Ayal and Courtois, Eric and Bodin, Francois and Barnard, Phil and Ashton, Elton and Bonilla, Edwin and Thomson, John and Williams, Christopher and O'Boyle, Michael F. P.},
   affiliation = {INRIA Saclay, Parc Club Orsay Universite, 3 rue Jean Rostand, 91893 Orsay, France},
   title = {Milepost GCC: Machine Learning Enabled Self-tuning Compiler},
   journal = {International Journal of Parallel Programming},
   publisher = {Springer Netherlands},
   issn = {0885-7458},
   keyword = {Computer Science},
   pages = {296-327},
   volume = {39},
   issue = {3},
   note = {10.1007/s10766-010-0161-2},
   year = {2011},
   url = {},
   keywords = {machine learning compiler, self-tuning compiler, adaptive compiler, automatic performance tuning, machine learning, program characterization, program features, collective optimization, continuous optimization, multi-objective optimization, empirical performance tuning, optimization repository, iterative compilation, feedback-directed compilation, adaptive compilation, optimization prediction, portable optimization}

  author =    {Grigori Fursin},
  title =     {{Collective Tuning Initiative}: automating and accelerating development and optimization of computing systems},
  booktitle = {Proceedings of the GCC Developers' Summit},
  year =      {2009},
  month =     {June},
  location =  {Montreal, Canada},
  keys =      {}
  url  =      {}


If you have any problems, questions or suggestions, please do not hesitate to get in touch via the following mailing lists: