{"id":20713308,"url":"https://github.com/linaro/tinyblas","last_synced_at":"2026-03-07T22:32:01.373Z","repository":{"id":96854597,"uuid":"248125157","full_name":"Linaro/tinyBLAS","owner":"Linaro","description":"A fork of OpenBLAS with Armv8-A SVE (Scalable Vector Extension) support","archived":false,"fork":false,"pushed_at":"2020-05-08T06:26:08.000Z","size":13401,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-13T09:32:09.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Linaro.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-18T02:59:53.000Z","updated_at":"2025-04-20T11:43:56.000Z","dependencies_parsed_at":"2023-05-09T20:33:49.681Z","dependency_job_id":null,"html_url":"https://github.com/Linaro/tinyBLAS","commit_stats":null,"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/Linaro/tinyBLAS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2FtinyBLAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2FtinyBLAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2FtinyBLAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2FtinyBLAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Linaro","download_url":"https://codeload.github.com/Linaro/tinyBLAS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2FtinyBLAS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30234557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T02:24:25.019Z","updated_at":"2026-03-07T22:32:01.342Z","avatar_url":"https://github.com/Linaro.png","language":"Fortran","readme":"# OpenBLAS\n\n[![Join the chat at https://gitter.im/xianyi/OpenBLAS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/xianyi/OpenBLAS?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nTravis CI: [![Build Status](https://travis-ci.org/xianyi/OpenBLAS.png?branch=develop)](https://travis-ci.org/xianyi/OpenBLAS)\n\nAppVeyor: [![Build status](https://ci.appveyor.com/api/projects/status/09sohd35n8nkkx64/branch/develop?svg=true)](https://ci.appveyor.com/project/xianyi/openblas/branch/develop)\n## Introduction\nOpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.\n\nPlease read the documents on OpenBLAS wiki pages \u003chttp://github.com/xianyi/OpenBLAS/wiki\u003e.\n\n## Binary Packages\nWe provide binary packages for the following platform.\n\n  * Windows x86/x86_64\n\nYou can download them from [file hosting on sourceforge.net](https://sourceforge.net/projects/openblas/files/).\n\n## Installation from Source\nDownload from project homepage. http://xianyi.github.com/OpenBLAS/\n\nOr, check out codes from git://github.com/xianyi/OpenBLAS.git\n### Normal compile\n  * type \"make\" to detect the CPU automatically.\n  or\n  * type \"make TARGET=xxx\" to set target CPU, e.g. \"make TARGET=NEHALEM\". The full target list is in file TargetList.txt.\n\n### Cross compile\nPlease set CC and FC with the cross toolchains. Then, set HOSTCC with your host C compiler. At last, set TARGET explicitly.\n\nExamples:\n\nOn X86 box, compile this library for loongson3a CPU.\n\n    make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A\n\nOn X86 box, compile this library for loongson3a CPU with loongcc (based on Open64) compiler.\n\n    make CC=loongcc FC=loongf95 HOSTCC=gcc TARGET=LOONGSON3A CROSS=1 CROSS_SUFFIX=mips64el-st-linux-gnu-   NO_LAPACKE=1 NO_SHARED=1 BINARY=32\n\n### Debug version\n\n    make DEBUG=1\n\n### Compile with MASS Support on Power CPU (Optional dependency)\n\n[IBM MASS](http://www-01.ibm.com/software/awdtools/mass/linux/mass-linux.html) library consists of a set of mathematical functions for C, C++, and\nFortran-language applications that are tuned for optimum performance on POWER architectures. OpenBLAS with MASS requires 64-bit, little-endian OS on POWER.\nThe library can be installed as below -\n\n * On Ubuntu:\n\n    wget -q http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/public.gpg -O- | sudo apt-key add -\u003c/br\u003e\n    echo \"deb http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/ trusty main\" | sudo tee /etc/apt/sources.list.d/ibm-xl-compiler-eval.list\u003c/br\u003e\n    sudo apt-get update\u003c/br\u003e\n    sudo apt-get install libxlmass-devel.8.1.5\u003c/br\u003e\n\n * On RHEL/CentOS:\n\n    wget http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/rhel7/repodata/repomd.xml.key\u003c/br\u003e\n    sudo rpm --import repomd.xml.key\u003c/br\u003e\n    wget http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/rhel7/ibm-xl-compiler-eval.repo\u003c/br\u003e\n    sudo cp ibm-xl-compiler-eval.repo /etc/yum.repos.d/\u003c/br\u003e\n    sudo yum install libxlmass-devel.8.1.5\u003c/br\u003e\n\nAfter installing MASS library, compile openblas with USE_MASS=1.\n\nExample:\n\nCompiling on Power8 with MASS support -\n\n    make USE_MASS=1 TARGET=POWER8\n\n### Install to the directory (optional)\n\nExample:\n\n    make install PREFIX=your_installation_directory\n\nThe default directory is /opt/OpenBLAS\n\n## Support CPU \u0026 OS\nPlease read GotoBLAS_01Readme.txt\n\n### Additional support CPU:\n\n#### x86/x86-64:\n- **Intel Xeon 56xx (Westmere)**: Used GotoBLAS2 Nehalem codes.\n- **Intel Sandy Bridge**: Optimized Level-3 and Level-2 BLAS with AVX on x86-64.\n- **Intel Haswell**: Optimized Level-3 and Level-2 BLAS with AVX2 and FMA  on x86-64.\n- **AMD Bobcat**: Used GotoBLAS2 Barcelona codes.\n- **AMD Bulldozer**: x86-64 ?GEMM FMA4 kernels. (Thank Werner Saar)\n- **AMD PILEDRIVER**: Uses Bulldozer codes with some optimizations.\n- **AMD STEAMROLLER**: Uses Bulldozer codes with some optimizations.\n\n#### MIPS64:\n- **ICT Loongson 3A**: Optimized Level-3 BLAS and the part of Level-1,2.\n- **ICT Loongson 3B**: Experimental\n\n#### ARM:\n- **ARMV6**: Optimized BLAS for vfpv2 and vfpv3-d16 ( e.g. BCM2835, Cortex M0+ )\n- **ARMV7**: Optimized BLAS for vfpv3-d32 ( e.g. Cortex A8, A9 and A15 )\n\n#### ARM64:\n- **ARMV8**: Experimental\n- **ARM Cortex-A57**: Experimental\n\n#### IBM zEnterprise System:\n- **Z13**: Optimized Level-3 BLAS \n     \n\n### Support OS:\n- **GNU/Linux**\n- **MingWin or Visual Studio(CMake)/Windows**: Please read \u003chttps://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio\u003e.\n- **Darwin/Mac OS X**: Experimental. Although GotoBLAS2 supports Darwin, we are the beginner on Mac OS X.\n- **FreeBSD**: Supported by community. We didn't test the library on this OS.\n- **Android**: Supported by community. Please read \u003chttps://github.com/xianyi/OpenBLAS/wiki/How-to-build-OpenBLAS-for-Android\u003e.\n\n## Usages\nLink with libopenblas.a or -lopenblas for shared library.\n\n### Set the number of threads with environment variables.\n\nExamples:\n\n    export OPENBLAS_NUM_THREADS=4\n\n or\n\n    export GOTO_NUM_THREADS=4\n\n or\n\n    export OMP_NUM_THREADS=4\n\nThe priorities are OPENBLAS_NUM_THREADS \u003e GOTO_NUM_THREADS \u003e OMP_NUM_THREADS.\n\nIf you compile this lib with USE_OPENMP=1, you should set OMP_NUM_THREADS environment variable. OpenBLAS ignores OPENBLAS_NUM_THREADS and GOTO_NUM_THREADS with USE_OPENMP=1.\n\n### Set the number of threads on runtime.\n\nWe provided the below functions to control the number of threads on runtime.\n\n    void goto_set_num_threads(int num_threads);\n\n    void openblas_set_num_threads(int num_threads);\n\nIf you compile this lib with USE_OPENMP=1, you should use the above functions, too.\n\n## Report Bugs\nPlease add a issue in https://github.com/xianyi/OpenBLAS/issues\n\n## Contact\n* OpenBLAS users mailing list: https://groups.google.com/forum/#!forum/openblas-users\n* OpenBLAS developers mailing list: https://groups.google.com/forum/#!forum/openblas-dev\n\n## ChangeLog\nPlease see Changelog.txt to obtain the differences between GotoBLAS2 1.13 BSD version.\n\n## Troubleshooting\n* Please read [Faq](https://github.com/xianyi/OpenBLAS/wiki/Faq) at first.\n* Please use gcc version 4.6 and above to compile Sandy Bridge AVX kernels on Linux/MingW/BSD.\n* Please use Clang version 3.1 and above to compile the library on Sandy Bridge microarchitecture. The Clang 3.0 will generate the wrong AVX binary code.\n* The number of CPUs/Cores should less than or equal to 256. On Linux x86_64(amd64), there is experimental support for up to 1024 CPUs/Cores and 128 numa nodes if you build the library with BIGNUMA=1.\n* OpenBLAS does not set processor affinity by default. On Linux, you can enable processor affinity by commenting the line NO_AFFINITY=1 in Makefile.rule. But this may cause [the conflict with R parallel](https://stat.ethz.ch/pipermail/r-sig-hpc/2012-April/001348.html).\n* On Loongson 3A. make test would be failed because of pthread_create error. The error code is EAGAIN. However, it will be OK when you run the same testcase on shell.\n\n## Contributing\n1. [Check for open issues](https://github.com/xianyi/OpenBLAS/issues) or open a fresh issue to start a discussion around a feature idea or a bug.\n1. Fork the [OpenBLAS](https://github.com/xianyi/OpenBLAS) repository to start making your changes.\n1. Write a test which shows that the bug was fixed or that the feature works as expected.\n1. Send a pull request. Make sure to add yourself to `CONTRIBUTORS.md`.\n\n## Donation\nPlease read [this wiki page](https://github.com/xianyi/OpenBLAS/wiki/Donation).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinaro%2Ftinyblas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinaro%2Ftinyblas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinaro%2Ftinyblas/lists"}