-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.3.0.0' into stable
- Loading branch information
Showing
208 changed files
with
18,746 additions
and
15,376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve Accelerate | ||
title: "[BUG]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
Hi! Thanks for trying out Accelerate! We are sorry that you ran into trouble ): Please fill in the following report to help us fix the problem. | ||
|
||
**Description** | ||
Provide a clear and concise description of what the bug is. | ||
If applicable, include screenshots to help explain the problem. | ||
|
||
**Steps to reproduce** | ||
Please provide as much information as possible so that somebody can understand and reproduce the problem. Remember: only bugs which are understood can be fixed. | ||
|
||
Providing a link to a minimal example which shows the faulty behaviour is best. https://gist.github.com is useful for pasting longer code snippets. If your program requires any additional packages, please include the `.cabal` and `stack.yaml` files so that it is easy to build. | ||
|
||
Steps to reproduce the behaviour: | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
**Expected behaviour** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Your environment** | ||
Include any relevant details about the environment you experienced the bug in. When reporting the versions of Accelerate packages used, include either the release number or the commit SHA if building from source. | ||
|
||
If the bug is with the `accelerate-llvm-ptx` GPU backend, include the output of `nvidia-device-query` | ||
|
||
- Accelerate: | ||
- Accelerate backend(s): | ||
- GHC: | ||
- OS: | ||
|
||
**Additional context** | ||
Add any other context about the problem here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Accelerate community chat | ||
about: Ask and answer questions here | ||
url: https://gitter.im/AccelerateHS/Lobby | ||
- name: Accelerate mailing list | ||
about: Ask and answer questions here | ||
url: http://groups.google.com/group/accelerate-haskell | ||
# url: mailto:accelerate-haskell@googlegroups.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea to improve Accelerate | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. For example: I'm always frustrated when [...] | ||
|
||
For difficulties using Accelerate you might also like to ask on the [mailing list](mailto:accelerate-haskell@googlegroups.com) or [chat room](https://gitter.im/AccelerateHS/Lobby). | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen, or how the new feature should work. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,20 @@ | ||
<!-- | ||
Hi! | ||
Hi! Thanks for trying out Accelerate! We are sorry that you have run into trouble ): Please fill in the following report to help us improve. | ||
|
||
Thanks for trying out Accelerate! We are sorry that you have run into trouble ): | ||
You might also like to ask on the [mailing list](mailto:accelerate-haskell@googlegroups.com) or [chat room](https://gitter.im/AccelerateHS/Lobby). | ||
|
||
The following schema may help when filing your report: | ||
--> | ||
**Description** | ||
Provide a clear and concise description of what the problem is. | ||
|
||
<!-- Put an `x` into each box that applies (replacing the existing space character): --> | ||
I am submitting a... | ||
- [ ] bug report | ||
- [ ] feature request | ||
- [ ] support request => you might also like to ask your question on the [mailing list](mailto:accelerate-haskell@googlegroups.com) or [gitter chat](https://gitter.im/AccelerateHS/Lobby). | ||
**Your environment** | ||
Include any relevant details about the environment you experienced the bug in. When reporting the versions of Accelerate packages used, include either the release number or the commit SHA if building from source. | ||
|
||
## Description | ||
<!-- | ||
Provide a general summary of the issue here, and try to include a descriptive title above. | ||
Do you want to request a feature or report a bug? | ||
How has this issue affected you? | ||
What are you trying to accomplish with the proposed feature request? | ||
--> | ||
If the bug is with the `accelerate-llvm-ptx` GPU backend, include the output of `nvidia-device-query` | ||
|
||
- Accelerate: | ||
- Accelerate backend(s): | ||
- GHC: | ||
- OS: | ||
|
||
## Expected behaviour | ||
<!-- | ||
If you are describing a bug, tell us what should happen. | ||
If you are suggesting a change or improvement, tell us how it should work. | ||
--> | ||
|
||
## Current behaviour | ||
<!-- | ||
If describing a bug, tell us what happens. | ||
If suggesting a change or improvement, explain the difference from the current behaviour. | ||
--> | ||
|
||
## Possible solution (optional) | ||
<!-- You may wish to suggest a fix or reason for the bug, or provide ideas on how to implement the suggested feature. --> | ||
|
||
## Steps to reproduce (for bugs) | ||
<!-- | ||
Please provide as much information as possible so that somebody can understand and reproduce the bug. Only bugs which are understood can be fixed. | ||
Providing a link to a minimal example which shows the faulty behaviour is best. https://gist.github.com is useful for pasting longer code snippets. If your program requires any additional libraries, please include `.cabal` and `stack.yaml` files so that it is easy to build. | ||
Please describe any additional steps to reproducing the bug. | ||
--> | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
## Your environment | ||
<!-- | ||
Include any relevant details about the environment you experienced the bug in. | ||
When reporting the versions of Accelerate packages used, please include either the release version number, or the commit SHA if building from source (e.g. `AccelerateHS/accelerate-llvm@0123456`). | ||
If you built your project using `stack`, the `nvidia-device-query` program may be available via `stack exec nvidia-device-query`. | ||
--> | ||
|
||
- Accelerate version: | ||
- Accelerate backend(s) used: | ||
- GHC version: | ||
- Operating system and version: | ||
- Link to your project/example: | ||
- If this is a bug with the GPU backend, include the output of `nvidia-device-query`: | ||
**Additional context** | ||
Add any other context about the problem here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,29 @@ | ||
<!-- | ||
Hi! | ||
Thanks for taking the time to create this pull request! You are awesome (: | ||
Hi! Thanks for taking the time to create this pull request! You are awesome (: | ||
|
||
The following schema may help when filing your pull request: | ||
--> | ||
|
||
## Description | ||
<!-- | ||
Provide a description of the pull request here. | ||
Try to include a general summary of the changes in the title above. | ||
--> | ||
**Description** | ||
Provide a description of the changes proposed by this pull request. | ||
|
||
## Motivation and context | ||
<!-- | ||
Why is this change required? What problem does it solve? | ||
If it fixes an open issue, please link to the issue here. | ||
--> | ||
**Motivation and context** | ||
Why is this change required? What problem does it solve? If it fixes an open issue(s), link to the issue here. | ||
|
||
## How has this been tested? | ||
<!-- | ||
Please describe in detail how you tested your changes. | ||
Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc. | ||
--> | ||
**How has this been tested?** | ||
Describe how your changes have been tested. Include details of your testing environment. | ||
|
||
## Types of changes | ||
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> | ||
**Types of changes** | ||
What types of changes does your code introduce? Put an `x` in all the boxes that apply: | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to change) | ||
|
||
## Checklist: | ||
<!-- | ||
Go over all the following points, and put an `x` in all the boxes that apply. | ||
If you're unsure about any of these, don't hesitate to ask. We're here to help! | ||
--> | ||
|
||
- [ ] My code follows the code style of this project. | ||
- [ ] My change requires a change to the documentation. | ||
- [ ] I have updated the documentation accordingly. | ||
- [ ] I have added tests to cover my changes. | ||
- [ ] All new and existing tests passed. | ||
**Checklist** | ||
Go over all the following points, and put an `x` in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help! | ||
|
||
- [ ] My code follows the code style of this project | ||
- [ ] My change requires a change to the documentation | ||
- [ ] I have updated the documentation accordingly | ||
- [ ] I have added tests to cover my changes | ||
- [ ] All new and existing tests passed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: CI | ||
|
||
# Trigger the workflow on push or pull request | ||
on: | ||
pull_request: | ||
push: | ||
# but only for the master branch | ||
# branches: [master] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
stack: | ||
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }} | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: ${{ matrix.allow_failure }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
allow_failure: [false] | ||
ghc: | ||
- "8.10" | ||
- "8.8" | ||
- "8.6" | ||
include: | ||
- os: macOS-latest | ||
ghc: "8.10" | ||
allow_failure: false | ||
# - os: windows-latest | ||
# ghc: "8.10" | ||
# allow_failure: true | ||
env: | ||
STACK_FLAGS: "--system-ghc --no-install-ghc --fast --flag accelerate:nofib" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-haskell@v1.1 | ||
with: | ||
enable-stack: true | ||
ghc-version: ${{ matrix.ghc }} | ||
|
||
- name: Set up stack | ||
id: stack-setup | ||
run: | | ||
ln -s stack-${{ matrix.ghc }}.yaml stack.yaml | ||
echo "::set-output name=stack-root::$(stack path --system-ghc --no-install-ghc --stack-root)" | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.stack-setup.outputs.stack-root }} | ||
key: ${{ runner.os }}-${{ matrix.ghc }}-stack | ||
|
||
- name: Build dependencies | ||
run: | | ||
stack build $STACK_FLAGS --test --no-run-tests --only-dependencies | ||
- name: Build | ||
run: | | ||
stack build $STACK_FLAGS --test --no-run-tests | ||
- name: Test | ||
run: | | ||
stack test accelerate:doctest $STACK_FLAGS | ||
stack test accelerate:nofib-interpreter $STACK_FLAGS | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ | |
/accelerate-io/dist/ | ||
/.stack-work | ||
/stack.yaml | ||
/stack.yaml.lock | ||
.DS_Store | ||
*.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule ".travis"] | ||
path = .travis | ||
url = https://github.com/tmcdonell/travis-scripts.git | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> | ||
Trevor L. McDonell <trevor.mcdonell@gmail.com> | ||
Ben Lever <ben.lever@nicta.com.au> | ||
Frederik M. Madsen <rlh929@a00334.science.domain> |
Submodule .travis
deleted from
7bc07b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.