{"id":22032394,"url":"https://github.com/vaiorabbit/ruby-opencl","last_synced_at":"2026-05-06T07:40:43.576Z","repository":{"id":146727676,"uuid":"44904448","full_name":"vaiorabbit/ruby-opencl","owner":"vaiorabbit","description":"Yet another OpenCL wrapper for Ruby","archived":false,"fork":false,"pushed_at":"2018-10-07T07:48:56.000Z","size":1886,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T18:17:09.128Z","etag":null,"topics":["opencl","opengl","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaiorabbit.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2015-10-25T09:56:04.000Z","updated_at":"2021-12-08T09:06:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d37928e6-e014-4c65-8797-7183f3da2a24","html_url":"https://github.com/vaiorabbit/ruby-opencl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fruby-opencl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fruby-opencl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fruby-opencl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fruby-opencl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaiorabbit","download_url":"https://codeload.github.com/vaiorabbit/ruby-opencl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245097851,"owners_count":20560317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["opencl","opengl","ruby"],"created_at":"2024-11-30T08:27:58.684Z","updated_at":"2026-05-06T07:40:43.533Z","avatar_url":"https://github.com/vaiorabbit.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- -*- mode:markdown; coding:utf-8; -*- --\u003e\n\n# Yet another OpenCL wrapper for Ruby #\n\nA Ruby binding for OpenCL 1.2\n\n*   Created : 2015-10-25\n*   Last modified : 2016-01-03\n\n\n[![](http://img.youtube.com/vi/4MWRwxzHdmk/mqdefault.jpg)](https://www.youtube.com/watch?v=4MWRwxzHdmk)\n[![](http://img.youtube.com/vi/k2Z7VpeQDAg/mqdefault.jpg)](https://www.youtube.com/watch?v=k2Z7VpeQDAg)\n\n\n## Features ##\n\n*   Based on Fiddle (One of the Ruby standard libraries that wraps libffi)\n\t*   You don't need to build C extension library\n\n*   Interoperability with OpenGL\n\t*   My OpenGL gem (opengl-bindings ( https://github.com/vaiorabbit/ruby-opengl ) version 1.5.2 and later) provides some platform-specific APIs essential for context sharing.\n\t*   'opengl-bindings' is also based on Fiddle.\n\t*   Supported Platforms: Windows, Mac OS X and Linux (X Window)\n\t*   See 'createContextWithGLInterop (sample/util/clu.rb)' for details.\n\n\n## Prerequisites ##\n\n*   Fiddle\n\t*   A libffi wrapper\n\t*   Standard library since Ruby 2.0.0\n\t*   I recommend you to use Ruby 2.1.2 and later, which fixed Fiddle's memory leak issue (https://bugs.ruby-lang.org/issues/9599).\n\n### For sample ###\n\nUse GLFW or GLUT for creating windows and OpenGL rendering contexts.\n\n*   GLFW\n    *   http://www.glfw.org/\n    *   http://www.glfw.org/download.html\n\n*   freeglut\n    *   http://freeglut.sourceforge.net\n    *   http://freeglut.sourceforge.net/index.php#download\n\n\n## Installation ##\n\nVia RubyGems ( https://rubygems.org/gems/opencl-bindings ):\n\n    $ gem install opencl-bindings\n\nOr grab all library codes (`lib/*.rb') and use them by adding as one of the load paths like:\n\n    $ ruby -I ./lib your_app.rb\n\n\n## How to use ##\n\nSee sample/hello.rb.\n\nTo get more samples, please visit:\nhttps://github.com/vaiorabbit/ruby-opencl\n\n\n## License ##\n\nThe zlib/libpng License ( http://opensource.org/licenses/Zlib ).\n\n    Copyright (c) 2015 vaiorabbit \u003chttp://twitter.com/vaiorabbit\u003e\n\n    This software is provided 'as-is', without any express or implied\n    warranty. In no event will the authors be held liable for any damages\n    arising from the use of this software.\n\n    Permission is granted to anyone to use this software for any purpose,\n    including commercial applications, and to alter it and redistribute it\n    freely, subject to the following restrictions:\n\n    1. The origin of this software must not be misrepresented; you must not\n       claim that you wrote the original software. If you use this software in a\n       product, an acknowledgment in the product documentation would be\n       appreciated but is not required.\n\n    2. Altered source versions must be plainly marked as such, and must not be\n       misrepresented as being the original software.\n\n    3. This notice may not be removed or altered from any source distribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaiorabbit%2Fruby-opencl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaiorabbit%2Fruby-opencl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaiorabbit%2Fruby-opencl/lists"}