summaryrefslogtreecommitdiff
path: root/cublas.cabal
blob: 5e2b11759999051c630b873b4b28d7202e7f3c7b (plain)
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
name:                   cublas
version:                0.4.0.1
synopsis:               FFI bindings to the CUDA BLAS library
description:
    The cuBLAS library is an implementation of BLAS (Basic Linear Algebra
    Subprograms) for NVIDIA GPUs. This package provides FFI bindings to the
    functions of the cuBLAS library. You will need to install the CUDA driver
    and developer toolkit:
    .
    <http://developer.nvidia.com/cuda-downloads>
    .
    See the <https://travis-ci.org/tmcdonell/cublas travis-ci.org> build matrix
    for tested CUDA library versions.

license:                BSD3
license-file:           LICENSE
author:                 Trevor L. McDonell, Ben Sherman
maintainer:             Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
copyright:              Copyright (c) [2012..2017]. Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>, Ben Sherman <benmsherman@gmail.com>
category:               Foreign
cabal-version:          >=1.24

build-type:             Custom
extra-tmp-files:        cublas.buildinfo.generated
extra-source-files:
  README.md
  CHANGELOG.md
  cbits/stubs.h

custom-setup
  setup-depends:
      base              >= 4.6
    , Cabal             >= 1.24
    , cuda              >= 0.8
    , directory         >= 1.0
    , filepath          >= 1.0

library
  hs-source-dirs:       .
  include-dirs:         .

  exposed-modules:
      Foreign.CUDA.BLAS
      Foreign.CUDA.BLAS.Context
      Foreign.CUDA.BLAS.Error
      Foreign.CUDA.BLAS.Level1
      Foreign.CUDA.BLAS.Level2
      Foreign.CUDA.BLAS.Level3
      Foreign.CUDA.BLAS.Stream

  other-modules:
      Foreign.CUDA.BLAS.Internal.C2HS
      Foreign.CUDA.BLAS.Internal.Types

  default-language:
      Haskell2010

  build-depends:
      base                              == 4.*
    , cuda                              >= 0.8
    , half                              >= 0.1
    , storable-complex                  >= 0.2
    , template-haskell

  build-tools:
      c2hs                              >= 0.16

  ghc-options:
      -Wall
      -O2
      -funbox-strict-fields
      -fwarn-tabs
      -fno-warn-unused-imports

source-repository head
    type:               git
    location:           https://github.com/tmcdonell/cublas

source-repository this
    type:               git
    location:           https://github.com/tmcdonell/cublas
    tag:                0.4.0.1

-- vim: nospell