{"id":16158138,"url":"https://github.com/typeofweb/opencl-pi-bbp","last_synced_at":"2025-09-12T21:33:18.305Z","repository":{"id":32698667,"uuid":"36288041","full_name":"typeofweb/OpenCL-PI-BBP","owner":"typeofweb","description":"Bailey–Borwein–Plouffe formula for PI implemented in OpenCL and C++","archived":false,"fork":false,"pushed_at":"2015-05-31T22:53:04.000Z","size":1012,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T03:03:15.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typeofweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-26T10:12:14.000Z","updated_at":"2022-02-28T17:11:15.000Z","dependencies_parsed_at":"2022-09-11T10:00:27.862Z","dependency_job_id":null,"html_url":"https://github.com/typeofweb/OpenCL-PI-BBP","commit_stats":null,"previous_names":["typeofweb/opencl-pi-bbp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2FOpenCL-PI-BBP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2FOpenCL-PI-BBP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2FOpenCL-PI-BBP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeofweb%2FOpenCL-PI-BBP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typeofweb","download_url":"https://codeload.github.com/typeofweb/OpenCL-PI-BBP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232792150,"owners_count":18577262,"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":[],"created_at":"2024-10-10T01:53:00.685Z","updated_at":"2025-01-06T21:55:24.516Z","avatar_url":"https://github.com/typeofweb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCL-PI-BBP\nBailey–Borwein–Plouffe formula for PI implemented in OpenCL and C++\n\n# Compile\n```bash\ncmake CMakeLists.txt\nmake\n```\n\n# Run\n```bash\n./PI2 {FROM} {DECIMAL_PLACES}\n```\n* `{FROM}` is the first decimal place you want to calculate. The lowest possible value is 1. If you select 1 then output will start with \"3.\" otherwise you'll get only decimal places.\n* `{DECIMAL_PLACES}` is how many decimal places you want to calculate\n\nExample input:\n```bash\n./PI2 1 100\n```\noutput:\n```bash\nSelect platform from given list: \n0. NVIDIA CUDA\n1. Intel(R) OpenCL\n0\nSelect device from given list: \n0. GeForce GTX 480\n1. GeForce GTS 450\n0\nUsing platform: NVIDIA CUDA\nUsing device: GeForce GTX 480\n1 work groups of size 1024\n3.243F6A8885A308D313198A2E03707344A4093822299F31D0082EFA98EC4E6C89452821E638D01377BE5466CF34E90C6CC0AC\nTime: 0.004s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeofweb%2Fopencl-pi-bbp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypeofweb%2Fopencl-pi-bbp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeofweb%2Fopencl-pi-bbp/lists"}