{"id":15030166,"url":"https://github.com/rindow/rindow-clblast-ffi","last_synced_at":"2026-02-19T02:01:07.797Z","repository":{"id":228276567,"uuid":"773562768","full_name":"rindow/rindow-clblast-ffi","owner":"rindow","description":"The CLBlast interface for FFI on PHP","archived":false,"fork":false,"pushed_at":"2025-04-09T13:31:24.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-14T19:44:52.114Z","etag":null,"topics":["blas","clblast","gpgpu","gpu","machine-learning","mathematics","opencl","php","php8"],"latest_commit_sha":null,"homepage":"https://rindow.github.io/mathematics/","language":"PHP","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/rindow.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-18T01:10:38.000Z","updated_at":"2025-11-02T11:55:37.000Z","dependencies_parsed_at":"2024-03-18T01:50:20.818Z","dependency_job_id":"fb25cb0f-250b-4a74-9b9a-30fa835acd11","html_url":"https://github.com/rindow/rindow-clblast-ffi","commit_stats":null,"previous_names":["rindow/rindow-clblast-ffi"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rindow/rindow-clblast-ffi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-clblast-ffi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-clblast-ffi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-clblast-ffi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-clblast-ffi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rindow","download_url":"https://codeload.github.com/rindow/rindow-clblast-ffi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rindow%2Frindow-clblast-ffi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29600841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T00:59:38.239Z","status":"online","status_checked_at":"2026-02-19T02:00:07.702Z","response_time":117,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blas","clblast","gpgpu","gpu","machine-learning","mathematics","opencl","php","php8"],"created_at":"2024-09-24T20:12:38.388Z","updated_at":"2026-02-19T02:01:07.778Z","avatar_url":"https://github.com/rindow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"The CLBlast interface for FFI on PHP\n====================================\nStatus:\n[![Build Status](https://github.com/rindow/rindow-clblast-ffi/workflows/tests/badge.svg)](https://github.com/rindow/rindow-clblast-ffi/actions)\n[![Downloads](https://img.shields.io/packagist/dt/rindow/rindow-clblast-ffi)](https://packagist.org/packages/rindow/rindow-clblast-ffi)\n[![Latest Stable Version](https://img.shields.io/packagist/v/rindow/rindow-clblast-ffi)](https://packagist.org/packages/rindow/rindow-clblast-ffi)\n[![License](https://img.shields.io/packagist/l/rindow/rindow-clblast-ffi)](https://packagist.org/packages/rindow/rindow-clblast-ffi)\n\n\"The CLBlast ffi\" is a interface for the CLBlast library. Available in libraries with FFI interface.\n\nPlease see the documents about Buffer objects on [Rindow Mathematics](https://rindow.github.io/mathematics/acceleration/opencl.html#rindow-clblast-ffi) web pages.\n\nRequirements\n============\n\n- PHP 8.1, PHP8.2, PHP8.3, PHP8.4\n- CLBlast 1.5.1 or later\n- Windows 10/11, Ubuntu(Recommends 2204-), Debian(Recommends 12-), or later\n\nHow to setup OpenCL \u0026 CLBlast\n=============================\nYou can download and setup pre-built CLBlast binaries.\nPlease download the binaries for your platform.\n\n- https://github.com/CNugteren/CLBlast/releases\n\n\n### Windows\nCLBlast and OpenBLAS DLL's path to Windows PATH environment variable.\n\n```shell\nC:\\tmp\u003ePATH %PATH%;/path/to/OpenBLAS/bin;/path/to/CLBlast-Library/lib\nC:\\tmp\u003ecd /some/app/directory\nC:\\app\\dir\u003ecomposer require rindow/rindow-clblast-ffi\n```\n\n### Ubuntu\nOn Linux, you first need to set up OpenCL.\n\nFor example, in the case of Ubuntu standard AMD driver, install as follows\n```shell\n$ sudo apt install clinfo\n$ sudo apt install mesa-opencl-icd\n$ sudo mkdir -p /usr/local/usr/lib\n$ sudo ln -s /usr/lib/clc /usr/local/usr/lib/clc\n```\nUbuntu standard OpenCL drivers include:\n- mesa-opencl-icd\n- beignet-opencl-icd\n- intel-opencl-icd\n- nvidia-opencl-icd-xxx\n- pocl-opencl-icd\n\n\nNext, Setup clblast. \n\nInstall clbast on Ubuntu 22.04 or Debian 12 or later.\n```shell\n$ sudo apt install libclblast1\n```\n\nIf you use Ubuntu 20.04 or Debian 11,\ndownload and Extract Archive file and Pack to deb\n```shell\n$ cd /some/app/directory\n$ composer require rindow/rindow-clblast-ffi\n$ cp vendor/rindow/rindow-clblast-ffi/clblast-packdeb.sh .\n$ sh ./clblast-packdeb.sh\n$ sudo apt install ./clblast_X.X.X_amd64.deb\n```\n\nAnd then, Please install rindow-clblast-ffi if you have not already done so.\n```shell\n$ cd /some/app/directory\n$ composer require rindow/rindow-clblast-ffi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frindow%2Frindow-clblast-ffi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frindow%2Frindow-clblast-ffi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frindow%2Frindow-clblast-ffi/lists"}