forked from AccelerateHS/accelerate-fft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
accelerate-fft.cabal
172 lines (139 loc) · 4.84 KB
/
accelerate-fft.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
Name: accelerate-fft
Version: 1.3.0.0
Cabal-version: >= 1.8
Tested-with: GHC >= 7.10
Build-type: Simple
Synopsis: FFT using the Accelerate library
Description:
Rank-polymorphic discrete Fourier transform (DFT), computed with a fast
Fourier transform (FFT) algorithm using the Accelerate library. Note that
optimised implementations are available via foreign libraries, but must be
explicitly enabled.
.
Refer to the main /Accelerate/ package for more information:
<http://hackage.haskell.org/package/accelerate>
.
License: BSD3
License-file: LICENSE
Author: Manuel M T Chakravarty,
Gabriele Keller,
Trevor L. McDonell,
Robert Clifton-Everest
Maintainer: Trevor L. McDonell <[email protected]>
Homepage: https://github.com/AccelerateHS/accelerate-fft
Bug-reports: https://github.com/AccelerateHS/accelerate/issues
Category: Compilers/Interpreters, Concurrency, Data, Parallelism
Stability: Experimental
extra-source-files:
README.md
CHANGELOG.md
flag llvm-ptx
Description: Use CUFFT-based implementation in the LLVM.PTX backend
Default: True
flag llvm-cpu
Description: Use FFTW-based implementation in the LLVM.Native backend
Default: True
library
build-depends:
base >= 4.9 && < 5
, accelerate >= 1.3 && < 1.4
, bytestring >= 0.9
, lens-accelerate >= 0.2
exposed-modules:
Data.Array.Accelerate.Math.FFT
Data.Array.Accelerate.Math.DFT
Data.Array.Accelerate.Math.DFT.Centre
Data.Array.Accelerate.Math.DFT.Roots
-- Internals
Data.Array.Accelerate.Math.FFT.Type
other-modules:
Data.Array.Accelerate.Math.FFT.Adhoc
Data.Array.Accelerate.Math.FFT.Mode
hs-source-dirs: src
ghc-options: -O2 -Wall -funbox-strict-fields
if flag(llvm-cpu)
cpp-options: -DACCELERATE_LLVM_NATIVE_BACKEND
build-depends:
accelerate-llvm >= 1.3 && < 1.4
, accelerate-llvm-native >= 1.3 && < 1.4
, carray >= 0.1.5
, fft >= 0.1.8
other-modules:
Data.Array.Accelerate.Math.FFT.LLVM.Native
Data.Array.Accelerate.Math.FFT.LLVM.Native.Base
Data.Array.Accelerate.Math.FFT.LLVM.Native.Ix
if flag(llvm-ptx)
cpp-options: -DACCELERATE_LLVM_PTX_BACKEND
build-depends:
accelerate-llvm >= 1.3 && < 1.4
, accelerate-llvm-ptx >= 1.3 && < 1.4
, containers >= 0.5
, hashable >= 1.0
, unordered-containers >= 0.2
, cuda >= 0.5
, cufft >= 0.9
, file-embed >= 0.0.10
, mtl >= 2.2
other-modules:
Data.Array.Accelerate.Math.FFT.LLVM.PTX
Data.Array.Accelerate.Math.FFT.LLVM.PTX.Base
Data.Array.Accelerate.Math.FFT.LLVM.PTX.Plans
-- Don't add the extensions list here. Instead, place individual LANGUAGE
-- pragmas in the files that require a specific extension. This means the
-- project loads in GHCi, and avoids extension clashes.
--
-- Extensions:
test-suite test-llvm-native
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: TestNative.hs
ghc-options: -main-is TestNative
if !flag(llvm-cpu)
buildable: False
build-depends:
base >= 4.9 && < 5
, accelerate
, accelerate-fft
, accelerate-llvm-native
, hedgehog >= 0.5
, tasty >= 0.11
, tasty-hedgehog >= 0.1
ghc-options:
-Wall
-threaded
-rtsopts
other-modules:
Test.FFT
Test.Base
Test.ShowType
test-suite test-llvm-ptx
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: TestPTX.hs
ghc-options: -main-is TestPTX
if !flag(llvm-ptx)
buildable: False
build-depends:
base >= 4.9 && < 5
, accelerate
, accelerate-fft
, accelerate-llvm-ptx
, hedgehog >= 0.5
, tasty >= 0.11
, tasty-hedgehog >= 0.1
ghc-options:
-Wall
-threaded
-rtsopts
other-modules:
Test.FFT
Test.Base
Test.ShowType
source-repository head
Type: git
Location: git://github.com/AccelerateHS/accelerate-fft.git
source-repository this
Type: git
Tag: 1.3.0.0
Location: git://github.com/AccelerateHS/accelerate-fft.git
-- vim: nospell