{"id":20098271,"url":"https://github.com/trick-17/backends","last_synced_at":"2026-04-11T16:43:51.625Z","repository":{"id":93811359,"uuid":"80454354","full_name":"Trick-17/backends","owner":"Trick-17","description":"Interchangeable backends in C++, OpenMP, CUDA, OpenCL, OpenACC","archived":false,"fork":false,"pushed_at":"2017-12-31T17:07:05.000Z","size":82,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T16:36:53.551Z","etag":null,"topics":["c-plus-plus","cross-platform","cuda","cuda-backend","header-only","openacc","openacc-backend","opencl","opencl-backend","openmp","openmp-backend"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Trick-17.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-01-30T19:19:30.000Z","updated_at":"2018-07-15T11:27:49.000Z","dependencies_parsed_at":"2023-03-23T17:48:17.522Z","dependency_job_id":null,"html_url":"https://github.com/Trick-17/backends","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Trick-17/backends","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trick-17%2Fbackends","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trick-17%2Fbackends/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trick-17%2Fbackends/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trick-17%2Fbackends/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Trick-17","download_url":"https://codeload.github.com/Trick-17/backends/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Trick-17%2Fbackends/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31687881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["c-plus-plus","cross-platform","cuda","cuda-backend","header-only","openacc","openacc-backend","opencl","opencl-backend","openmp","openmp-backend"],"created_at":"2024-11-13T17:02:25.687Z","updated_at":"2026-04-11T16:43:51.607Z","avatar_url":"https://github.com/Trick-17.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backends\nInterchangeable backends:\n- C++\n- CUDA\n- OpenCL\n- OpenACC\n\n\n## Project Health\n\n| Service | System | Compiler | Status |\n| ------- | ------ | -------- | -----: |\n|  [Travis-CI](https://travis-ci.org/Trick-17/backends) | Ubuntu 14.04\u003cbr\u003eOSX | GCC 6\u003cbr\u003eClang | [![Build Status](https://travis-ci.org/Trick-17/backends.svg?branch=master)](https://travis-ci.org/Trick-17/backends) |\n|  [AppVeyor](https://ci.appveyor.com/project/Trick-17/backends) | Windows | MSVC12 \u003cbr/\u003e MSVC14 \u003cbr/\u003e MSVC14.1 | [![Build status](https://ci.appveyor.com/api/projects/status/k7d43bdnl80kwuq2?svg=true)](https://ci.appveyor.com/project/Trick-17/backends) |\n\n\n## Including this library in your code\n\nTODO...\n\n\n## Library usage\n\nFilling a vector with a single value:\n```C++\nauto myVec = backends::vector\u003cdouble\u003e(2000);\nbackends::fill(myVec, 12.0);\n```\n\nTypical reductions:\n```C++\nauto myVec = backends::vector\u003cdouble\u003e{1, 2, 3, 4};\ndouble sum  = backends::sum(myVec);\ndouble mean = backends::mean(myVec);\n// The sum should be 12, the mean should be 2.5\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrick-17%2Fbackends","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrick-17%2Fbackends","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrick-17%2Fbackends/lists"}