accelerate-kullback-liebler 0.1.2.0 → 0.1.2.1
raw patch · 3 files changed
+8/−21 lines, 3 filesdep ~acceleratedep ~accelerate-kullback-lieblerPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: accelerate, accelerate-kullback-liebler
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- accelerate-kullback-liebler.cabal +3/−20
- common/Data/Array/Accelerate/Test.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # accelerate-kullback-liebler +## 0.1.2.1++ * Work with `accelerate >= 1.3.0.0`+ ## 0.1.2.0 * Add `f`-divergence, `alpha`-divergence, Hellinger distance
accelerate-kullback-liebler.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: accelerate-kullback-liebler-version: 0.1.2.0+version: 0.1.2.1 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2019-2020 Vanessa McHale@@ -18,11 +18,6 @@ type: darcs location: https://hub.darcs.net/vmchale/accelerate-kullback-liebler -flag development- description: Enable `-Werror`- default: False- manual: True- flag gpu description: Enable GPU backend (only affects test/benchmark suite) @@ -36,9 +31,6 @@ base >=4.3 && <5, accelerate >=1.1.0.0 - if flag(development)- ghc-options: -Werror- if impl(ghc >=8.0) ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates@@ -55,11 +47,8 @@ build-depends: base >=4.3 && <5, mwc-random-accelerate -any,- accelerate >=1.1.0.0,- accelerate-kullback-liebler >=0.1.1.0-- if flag(development)- ghc-options: -Werror+ accelerate >=1.2.0.0,+ accelerate-kullback-liebler -any if impl(ghc >=8.0) ghc-options:@@ -86,9 +75,6 @@ accelerate-test -any, accelerate -any - if flag(development)- ghc-options: -Werror- if flag(gpu) cpp-options: -DACCELERATE_GPU build-depends: accelerate-llvm-ptx -any@@ -122,9 +108,6 @@ if flag(gpu) cpp-options: -DACCELERATE_GPU build-depends: accelerate-llvm-ptx -any-- if flag(development)- ghc-options: -Werror if impl(ghc >=8.0) ghc-options:
common/Data/Array/Accelerate/Test.hs view
@@ -11,7 +11,7 @@ import Data.Array.Accelerate.System.Random.MWC (Variate, randomArray, uniformR) -- | Doesn't actually check the list has one element-the :: A.Scalar e -> e+the :: A.Elt e => A.Scalar e -> e the = head . A.toList -- | Make a distribution of a given size