{"id":19416841,"url":"https://github.com/acceleratehs/accelerate-examples","last_synced_at":"2025-04-08T04:17:22.093Z","repository":{"id":3085348,"uuid":"4109494","full_name":"AccelerateHS/accelerate-examples","owner":"AccelerateHS","description":"Examples for the Accelerate language","archived":false,"fork":false,"pushed_at":"2020-08-28T15:28:21.000Z","size":6068,"stargazers_count":69,"open_issues_count":0,"forks_count":27,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-04-25T23:31:25.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.acceleratehs.org","language":"Haskell","has_issues":false,"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/AccelerateHS.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}},"created_at":"2012-04-23T04:01:36.000Z","updated_at":"2023-10-01T19:22:58.000Z","dependencies_parsed_at":"2022-08-20T06:32:50.318Z","dependency_job_id":null,"html_url":"https://github.com/AccelerateHS/accelerate-examples","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelerateHS%2Faccelerate-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelerateHS%2Faccelerate-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelerateHS%2Faccelerate-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelerateHS%2Faccelerate-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AccelerateHS","download_url":"https://codeload.github.com/AccelerateHS/accelerate-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773721,"owners_count":20993639,"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-11-10T13:05:46.475Z","updated_at":"2025-04-08T04:17:22.069Z","avatar_url":"https://github.com/AccelerateHS.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"450\" src=\"https://github.com/AccelerateHS/accelerate/raw/master/images/accelerate-logo-text-v.png?raw=true\" alt=\"henlo, my name is Theia\"/\u003e\n\n# Example programs using Accelerate\n\n[![GitHub CI](https://github.com/tmcdonell/accelerate-examples/workflows/CI/badge.svg)](https://github.com/tmcdonell/accelerate-examples/actions)\n[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/AccelerateHS/Lobby)\n\u003cbr\u003e\n[![Stackage LTS](https://stackage.org/package/accelerate-examples/badge/lts)](https://stackage.org/lts/package/accelerate-examples)\n[![Stackage Nightly](https://stackage.org/package/accelerate-examples/badge/nightly)](https://stackage.org/nightly/package/accelerate-examples)\n[![Hackage](https://img.shields.io/hackage/v/accelerate-examples.svg)](https://hackage.haskell.org/package/accelerate-examples)\n\u003cbr\u003e\n[![Docker Automated build](https://img.shields.io/docker/automated/tmcdonell/accelerate-examples.svg)](https://hub.docker.com/r/tmcdonell/accelerate-examples/)\n[![Docker status](https://images.microbadger.com/badges/image/tmcdonell/accelerate-examples.svg)](https://microbadger.com/images/tmcdonell/accelerate-examples)\n\n\u003c/div\u003e\n\nExample programs using the Accelerate library. The aim is for this package to\nevolve and be useful for both performance and regression testing.\n\nContributions and bug reports are welcome!\u003cbr\u003e\nPlease feel free to contact me through [GitHub](https://github.com/AccelerateHS/accelerate/issues) or [gitter.im](https://gitter.im/AccelerateHS/Lobby).\n\n\nInstallation\n------------\n\n### External dependencies\n\nInstallation of `accelerate-examples` and its dependencies requires several\nexternal packages. You may need to adjust the package names or versions slightly\nfor your system.\n\n  * Ubuntu/Debian (apt-get):\n    - llvm-9-dev\n    - freeglut3-dev\n    - libfftw3-dev\n\n  * Mac OS ([homebrew](http://brew.sh/index.html))\n    - fftw\n    - libffi\n    - llvm-hs/homebrew-llvm/llvm-9\n\nIf you want to use the CUDA GPU enabled backend\n[`accelerate-llvm-ptx`](https://github.com/AccelerateHS/accelerate-llvm), you\nwill also need to install the CUDA toolkit for your system. You can find an\ninstaller on NVIDIA's website here:\n\n  * https://developer.nvidia.com/cuda-downloads\n\n\n### Building: stack\n\nFor development, the recommend build method is via the\n[`stack`](http://haskellstack.org) tool. This will simplify pulling in\ndependencies not yet on Hackage. For example, to build using ghc-8.10:\n\n```bash\nln -s stack-8.10.yaml stack.yaml    # only once\nstack build                         # or, 'stack install' to install the executables globally\n```\n\nBefore building, you may want to edit the `stack.yaml` file to change the build\nconfiguration. In particular, the `flags` section at the bottom can be used to\nenable or disable individual example programs and accelerate backends, as well\nas features such as monitoring and debug output.\n\n\nAdding new backends\n-------------------\n\nAdding support for new Accelerate backends should require only a few minor\nadditions to the cabal file and the module\n'Data.Array.Accelerate.Examples.Internal.Backend'.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facceleratehs%2Faccelerate-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facceleratehs%2Faccelerate-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facceleratehs%2Faccelerate-examples/lists"}