{"id":13418033,"url":"https://github.com/boostorg/compute","last_synced_at":"2025-12-17T10:47:49.064Z","repository":{"id":7219271,"uuid":"8526347","full_name":"boostorg/compute","owner":"boostorg","description":"A C++ GPU Computing Library for OpenCL","archived":false,"fork":false,"pushed_at":"2025-11-13T01:18:35.000Z","size":8735,"stargazers_count":1633,"open_issues_count":156,"forks_count":338,"subscribers_count":106,"default_branch":"master","last_synced_at":"2025-11-19T06:02:21.013Z","etag":null,"topics":["boost","c-plus-plus","compute","cpp","gpgpu","gpu","hpc","opencl","performance"],"latest_commit_sha":null,"homepage":"http://boostorg.github.io/compute/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boostorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE_1_0.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,"zenodo":null}},"created_at":"2013-03-02T20:15:58.000Z","updated_at":"2025-11-05T22:27:06.000Z","dependencies_parsed_at":"2024-11-11T23:32:57.246Z","dependency_job_id":"b6c6fcc9-a903-4a54-8c10-efc21dcee72e","html_url":"https://github.com/boostorg/compute","commit_stats":{"total_commits":1017,"total_committers":69,"mean_commits":14.73913043478261,"dds":0.5172074729596854,"last_synced_commit":"36350b7de849300bd3d72a05d8bf890ca405a014"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/boostorg/compute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fcompute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fcompute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fcompute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fcompute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boostorg","download_url":"https://codeload.github.com/boostorg/compute/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Fcompute/sbom","scorecard":{"id":247983,"data":{"date":"2025-08-11","repo":{"name":"github.com/boostorg/compute","commit":"cf7907574d6159cd43e6cf687a7b656278c61dd0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":5,"reason":"Found 8/14 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE_1_0.txt:0","Info: FSF or OSI recognized license: Boost Software License 1.0: LICENSE_1_0.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T07:57:01.552Z","repository_id":7219271,"created_at":"2025-08-17T07:57:01.552Z","updated_at":"2025-08-17T07:57:01.552Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27781933,"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","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"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":["boost","c-plus-plus","compute","cpp","gpgpu","gpu","hpc","opencl","performance"],"created_at":"2024-07-30T22:00:57.550Z","updated_at":"2025-12-17T10:47:49.025Z","avatar_url":"https://github.com/boostorg.png","language":"C++","readme":"# Boost.Compute #\n\n[![Build Status](https://travis-ci.org/boostorg/compute.svg?branch=master)](https://travis-ci.org/boostorg/compute)\n[![Build status](https://ci.appveyor.com/api/projects/status/4s2nvfc97m7w23oi/branch/master?svg=true)](https://ci.appveyor.com/project/jszuppe/compute/branch/master)\n[![Coverage Status](https://coveralls.io/repos/boostorg/compute/badge.svg?branch=master)](https://coveralls.io/r/boostorg/compute)\n[![Gitter](https://badges.gitter.im/boostorg/compute.svg)](https://gitter.im/boostorg/compute?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\nBoost.Compute is a GPU/parallel-computing library for C++ based on OpenCL.\n\nThe core library is a thin C++ wrapper over the OpenCL API and provides\naccess to compute devices, contexts, command queues and memory buffers.\n\nOn top of the core library is a generic, STL-like interface providing common\nalgorithms (e.g. `transform()`, `accumulate()`, `sort()`) along with common\ncontainers (e.g. `vector\u003cT\u003e`, `flat_set\u003cT\u003e`). It also features a number of\nextensions including parallel-computing algorithms (e.g. `exclusive_scan()`,\n`scatter()`, `reduce()`) and a number of fancy iterators (e.g.\n`transform_iterator\u003c\u003e`, `permutation_iterator\u003c\u003e`, `zip_iterator\u003c\u003e`).\n\nThe full documentation is available at http://boostorg.github.io/compute/.\n\n## Example ##\n\nThe following example shows how to sort a vector of floats on the GPU:\n\n```c++\n#include \u003cvector\u003e\n#include \u003calgorithm\u003e\n#include \u003cboost/compute.hpp\u003e\n\nnamespace compute = boost::compute;\n\nint main()\n{\n    // get the default compute device\n    compute::device gpu = compute::system::default_device();\n\n    // create a compute context and command queue\n    compute::context ctx(gpu);\n    compute::command_queue queue(ctx, gpu);\n\n    // generate random numbers on the host\n    std::vector\u003cfloat\u003e host_vector(1000000);\n    std::generate(host_vector.begin(), host_vector.end(), rand);\n\n    // create vector on the device\n    compute::vector\u003cfloat\u003e device_vector(1000000, ctx);\n\n    // copy data to the device\n    compute::copy(\n        host_vector.begin(), host_vector.end(), device_vector.begin(), queue\n    );\n\n    // sort data on the device\n    compute::sort(\n        device_vector.begin(), device_vector.end(), queue\n    );\n\n    // copy data back to the host\n    compute::copy(\n        device_vector.begin(), device_vector.end(), host_vector.begin(), queue\n    );\n\n    return 0;\n}\n```\n\nBoost.Compute is a header-only library, so no linking is required. The example\nabove can be compiled with:\n\n`g++ -I/path/to/compute/include sort.cpp -lOpenCL`\n\nMore examples can be found in the [tutorial](\nhttp://boostorg.github.io/compute/boost_compute/tutorial.html) and under the\n[examples](https://github.com/boostorg/compute/tree/master/example) directory.\n\n## Support ##\nQuestions about the library (both usage and development) can be posted to the\n[mailing list](https://groups.google.com/forum/#!forum/boost-compute).\n\nBugs and feature requests can be reported through the [issue tracker](\nhttps://github.com/boostorg/compute/issues?state=open).\n\nAlso feel free to send me an email with any problems, questions, or feedback.\n\n## Help Wanted ##\nThe Boost.Compute project is currently looking for additional developers with\ninterest in parallel computing.\n\nPlease send an email to Kyle Lutz (kyle.r.lutz@gmail.com) for more information.\n","funding_links":[],"categories":["TODO scan for Android support in followings","Concurrency","C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Fcompute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboostorg%2Fcompute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Fcompute/lists"}