Package maintainers and Hackage trustees are allowed to edit certain bits
of package metadata after a release, without uploading a new tarball.
Note that the tarball itself is never changed, just the metadata that is
stored separately. For more information about metadata revisions, please
refer to the
Hackage Metadata Revisions FAQ.
No. |
Time |
User |
SHA256 |
-r2 (accelerate-llvm-ptx-1.0.0.0-r2) |
2017-05-18T01:09:57Z |
TrevorMcDonell |
e68701f15336fd1d744649487cd1a834d111673d2919d181fe810da5623797fb
|
|
|
-r1 (accelerate-llvm-ptx-1.0.0.0-r1) |
2017-04-04T03:42:03Z |
TrevorMcDonell |
c9e468c5a8c75f231122ba116ae645734f13051ef0163fef2a47bd2ea0278592
|
|
Changed description
from This library implements a backend for the /Accelerate/ language which
generates LLVM-IR targeting CUDA capable GPUs. For further information,
refer to the main /Accelerate/ package:
<http://hackage.haskell.org/package/accelerate>
to This library implements a backend for the /Accelerate/ language which
generates LLVM-IR targeting CUDA capable GPUs. For further information,
refer to the main <http://hackage.haskell.org/package/accelerate accelerate>
package.
[/Dependencies/]
Haskell dependencies are available from Hackage. The following external
libraries are alse required:
* <http://llvm.org LLVM>
* <https://developer.nvidia.com/cuda-downloads CUDA>
[/Installing LLVM/]
/Homebrew/
Example using Homebrew on macOS:
> brew install llvm-hs/homebrew-llvm/llvm-4.0
/Debian & Ubuntu/
For Debian/Ubuntu based Linux distributions, the LLVM.org website provides
binary distribution packages. Check <http://apt.llvm.org apt.llvm.org> for
instructions for adding the correct package database for your OS version,
and then:
> apt-get install llvm-4.0-dev
/Building from source/
If your OS does not have an appropriate LLVM distribution available, you can
also build from source. Detailed build instructions are available on
<http://releases.llvm.org/4.0.0/docs/CMake.html LLVM.org>. Make sure to
include the cmake build options
@-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON@ so that the @libLLVM@
shared library will be built. Also ensure that the @LLVM_TARGETS_TO_BUILD@
option includes the @NVPTX@ target (if not specified all targets are built).
[/Installing accelerate-llvm/]
To use @accelerate-llvm@ it is important that the @llvm-hs@ package is
installed against the @libLLVM@ shared library, rather than statically
linked, so that we can use LLVM from GHCi and Template Haskell. This is the
default configuration, but you can also enforce this explicitly by adding
the following to your @stack.yaml@ file:
> flags:
> llvm-hs:
> shared-llvm: true
Or by specifying the @shared-llvm@ flag to cabal:
> cabal install llvm-hs -fshared-llvm
|
-r0 (accelerate-llvm-ptx-1.0.0.0-r0) |
2017-03-31T09:02:30Z |
TrevorMcDonell |
f64ec885881dac3ec2d7792a42d83b6bf5b6402a27f3c810cbd7ab5a44e00f69
|
|
|