Skip to content

Commit 49a39ea

Browse files
committed
Merge branch 'release/1.3.0.0' into stable
2 parents 610cd14 + 114726f commit 49a39ea

208 files changed

Lines changed: 18746 additions & 15376 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve Accelerate
4+
title: "[BUG]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
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.
11+
12+
**Description**
13+
Provide a clear and concise description of what the bug is.
14+
If applicable, include screenshots to help explain the problem.
15+
16+
**Steps to reproduce**
17+
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.
18+
19+
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.
20+
21+
Steps to reproduce the behaviour:
22+
23+
1.
24+
2.
25+
3.
26+
27+
**Expected behaviour**
28+
A clear and concise description of what you expected to happen.
29+
30+
**Your environment**
31+
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.
32+
33+
If the bug is with the `accelerate-llvm-ptx` GPU backend, include the output of `nvidia-device-query`
34+
35+
- Accelerate:
36+
- Accelerate backend(s):
37+
- GHC:
38+
- OS:
39+
40+
**Additional context**
41+
Add any other context about the problem here.
42+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Accelerate community chat
4+
about: Ask and answer questions here
5+
url: https://gitter.im/AccelerateHS/Lobby
6+
- name: Accelerate mailing list
7+
about: Ask and answer questions here
8+
url: http://groups.google.com/group/accelerate-haskell
9+
# url: mailto:accelerate-haskell@googlegroups.com
10+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea to improve Accelerate
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. For example: I'm always frustrated when [...]
12+
13+
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).
14+
15+
**Describe the solution you'd like**
16+
A clear and concise description of what you want to happen, or how the new feature should work.
17+
18+
**Describe alternatives you've considered**
19+
A clear and concise description of any alternative solutions or features you've considered.
20+
21+
**Additional context**
22+
Add any other context or screenshots about the feature request here.
23+

.github/issue_template.md

Lines changed: 13 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,20 @@
1-
<!--
2-
Hi!
1+
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.
32

4-
Thanks for trying out Accelerate! We are sorry that you have run into trouble ):
3+
You might also like to ask on the [mailing list](mailto:accelerate-haskell@googlegroups.com) or [chat room](https://gitter.im/AccelerateHS/Lobby).
54

6-
The following schema may help when filing your report:
7-
-->
5+
**Description**
6+
Provide a clear and concise description of what the problem is.
87

9-
<!-- Put an `x` into each box that applies (replacing the existing space character): -->
10-
I am submitting a...
11-
- [ ] bug report
12-
- [ ] feature request
13-
- [ ] 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).
8+
**Your environment**
9+
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.
1410

15-
## Description
16-
<!--
17-
Provide a general summary of the issue here, and try to include a descriptive title above.
18-
Do you want to request a feature or report a bug?
19-
How has this issue affected you?
20-
What are you trying to accomplish with the proposed feature request?
21-
-->
11+
If the bug is with the `accelerate-llvm-ptx` GPU backend, include the output of `nvidia-device-query`
2212

13+
- Accelerate:
14+
- Accelerate backend(s):
15+
- GHC:
16+
- OS:
2317

24-
## Expected behaviour
25-
<!--
26-
If you are describing a bug, tell us what should happen.
27-
If you are suggesting a change or improvement, tell us how it should work.
28-
-->
29-
30-
## Current behaviour
31-
<!--
32-
If describing a bug, tell us what happens.
33-
If suggesting a change or improvement, explain the difference from the current behaviour.
34-
-->
35-
36-
## Possible solution (optional)
37-
<!-- You may wish to suggest a fix or reason for the bug, or provide ideas on how to implement the suggested feature. -->
38-
39-
## Steps to reproduce (for bugs)
40-
<!--
41-
Please provide as much information as possible so that somebody can understand and reproduce the bug. Only bugs which are understood can be fixed.
42-
43-
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.
44-
45-
Please describe any additional steps to reproducing the bug.
46-
-->
47-
48-
1.
49-
2.
50-
3.
51-
52-
## Your environment
53-
<!--
54-
Include any relevant details about the environment you experienced the bug in.
55-
56-
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`).
57-
58-
If you built your project using `stack`, the `nvidia-device-query` program may be available via `stack exec nvidia-device-query`.
59-
-->
60-
61-
- Accelerate version:
62-
- Accelerate backend(s) used:
63-
- GHC version:
64-
- Operating system and version:
65-
- Link to your project/example:
66-
- If this is a bug with the GPU backend, include the output of `nvidia-device-query`:
18+
**Additional context**
19+
Add any other context about the problem here.
6720

.github/pull_request_template.md

Lines changed: 17 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,29 @@
1-
<!--
2-
Hi!
3-
4-
Thanks for taking the time to create this pull request! You are awesome (:
1+
Hi! Thanks for taking the time to create this pull request! You are awesome (:
52

63
The following schema may help when filing your pull request:
7-
-->
84

9-
## Description
10-
<!--
11-
Provide a description of the pull request here.
12-
Try to include a general summary of the changes in the title above.
13-
-->
5+
**Description**
6+
Provide a description of the changes proposed by this pull request.
147

15-
## Motivation and context
16-
<!--
17-
Why is this change required? What problem does it solve?
18-
If it fixes an open issue, please link to the issue here.
19-
-->
8+
**Motivation and context**
9+
Why is this change required? What problem does it solve? If it fixes an open issue(s), link to the issue here.
2010

21-
## How has this been tested?
22-
<!--
23-
Please describe in detail how you tested your changes.
24-
Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc.
25-
-->
11+
**How has this been tested?**
12+
Describe how your changes have been tested. Include details of your testing environment.
2613

27-
## Types of changes
28-
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
14+
**Types of changes**
15+
What types of changes does your code introduce? Put an `x` in all the boxes that apply:
2916

3017
- [ ] Bug fix (non-breaking change which fixes an issue)
3118
- [ ] New feature (non-breaking change which adds functionality)
3219
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
3320

34-
## Checklist:
35-
<!--
36-
Go over all the following points, and put an `x` in all the boxes that apply.
37-
If you're unsure about any of these, don't hesitate to ask. We're here to help!
38-
-->
39-
40-
- [ ] My code follows the code style of this project.
41-
- [ ] My change requires a change to the documentation.
42-
- [ ] I have updated the documentation accordingly.
43-
- [ ] I have added tests to cover my changes.
44-
- [ ] All new and existing tests passed.
21+
**Checklist**
22+
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!
23+
24+
- [ ] My code follows the code style of this project
25+
- [ ] My change requires a change to the documentation
26+
- [ ] I have updated the documentation accordingly
27+
- [ ] I have added tests to cover my changes
28+
- [ ] All new and existing tests passed
4529

.github/workflows/ci.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: CI
2+
3+
# Trigger the workflow on push or pull request
4+
on:
5+
pull_request:
6+
push:
7+
# but only for the master branch
8+
# branches: [master]
9+
10+
defaults:
11+
run:
12+
shell: bash
13+
14+
jobs:
15+
stack:
16+
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
17+
runs-on: ${{ matrix.os }}
18+
continue-on-error: ${{ matrix.allow_failure }}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-latest]
22+
allow_failure: [false]
23+
ghc:
24+
- "8.10"
25+
- "8.8"
26+
- "8.6"
27+
include:
28+
- os: macOS-latest
29+
ghc: "8.10"
30+
allow_failure: false
31+
# - os: windows-latest
32+
# ghc: "8.10"
33+
# allow_failure: true
34+
env:
35+
STACK_FLAGS: "--system-ghc --no-install-ghc --fast --flag accelerate:nofib"
36+
37+
steps:
38+
- uses: actions/checkout@v2
39+
40+
- uses: actions/setup-haskell@v1.1
41+
with:
42+
enable-stack: true
43+
ghc-version: ${{ matrix.ghc }}
44+
45+
- name: Set up stack
46+
id: stack-setup
47+
run: |
48+
ln -s stack-${{ matrix.ghc }}.yaml stack.yaml
49+
echo "::set-output name=stack-root::$(stack path --system-ghc --no-install-ghc --stack-root)"
50+
51+
- uses: actions/cache@v1
52+
with:
53+
path: ${{ steps.stack-setup.outputs.stack-root }}
54+
key: ${{ runner.os }}-${{ matrix.ghc }}-stack
55+
56+
- name: Build dependencies
57+
run: |
58+
stack build $STACK_FLAGS --test --no-run-tests --only-dependencies
59+
60+
- name: Build
61+
run: |
62+
stack build $STACK_FLAGS --test --no-run-tests
63+
64+
- name: Test
65+
run: |
66+
stack test accelerate:doctest $STACK_FLAGS
67+
stack test accelerate:nofib-interpreter $STACK_FLAGS
68+

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@
99
/accelerate-io/dist/
1010
/.stack-work
1111
/stack.yaml
12+
/stack.yaml.lock
13+
.DS_Store
14+
*.lock

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule ".travis"]
2-
path = .travis
3-
url = https://github.com/tmcdonell/travis-scripts.git

.mailmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
1+
Trevor L. McDonell <trevor.mcdonell@gmail.com>
22
Ben Lever <ben.lever@nicta.com.au>
33
Frederik M. Madsen <rlh929@a00334.science.domain>

.travis

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)