cuda 0.9.0.0 → 0.9.0.1
raw patch · 5 files changed
+23/−15 lines, 5 filessetup-changed
Files
- CHANGELOG.markdown +5/−0
- Setup.hs +10/−8
- cuda.cabal +6/−6
- examples/src/deviceQueryDrv/DeviceQuery.hs +1/−0
- src/Foreign/CUDA/Driver/IPC/Marshal.chs +1/−1
CHANGELOG.markdown view
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). +## [0.9.0.1] - 2018-05-16+###+ * Build fix for macOS High Sierra (10.13)+ ## [0.9.0.0] - 2017-11-15 ### Fixed * Build fixes for CUDA-9@@ -103,6 +107,7 @@ * Add functions from CUDA-6.5 +[0.9.0.1]: https://github.com/tmcdonell/cuda/compare/0.9.0.0...0.9.0.1 [0.9.0.0]: https://github.com/tmcdonell/cuda/compare/0.8.0.1...0.9.0.0 [0.8.0.1]: https://github.com/tmcdonell/cuda/compare/0.8.0.0...0.8.0.1 [0.8.0.0]: https://github.com/tmcdonell/cuda/compare/0.7.5.3...0.8.0.0
Setup.hs view
@@ -140,6 +140,7 @@ else [] extraLibs' = cudaLibraries platform frameworks' = [ "CUDA" | os == OSX ]+ frameworkDirs' = [ "/Library/Frameworks" | os == OSX ] -- options or c2hs archFlag = case arch of@@ -158,14 +159,15 @@ extraGHCiLibs' <- cudaGHCiLibraries platform installPath extraLibs' buildInfo' <- addSystemSpecificOptions $ emptyBuildInfo- { ccOptions = ccOptions'- , ldOptions = ldOptions'- , extraLibs = extraLibs'- , extraGHCiLibs = extraGHCiLibs'- , extraLibDirs = extraLibDirs'- , frameworks = frameworks'- , options = [(GHC, ghcOptions) | os /= Windows]- , customFieldsBI = [c2hsExtraOptions]+ { ccOptions = ccOptions'+ , ldOptions = ldOptions'+ , extraLibs = extraLibs'+ , extraGHCiLibs = extraGHCiLibs'+ , extraLibDirs = extraLibDirs'+ , frameworks = frameworks'+ , extraFrameworkDirs = frameworkDirs'+ , options = [(GHC, ghcOptions) | os /= Windows]+ , customFieldsBI = [c2hsExtraOptions] } return (Just buildInfo', [])
cuda.cabal view
@@ -1,5 +1,5 @@ Name: cuda-Version: 0.9.0.0+Version: 0.9.0.1 Synopsis: FFI binding to the CUDA interface for programming NVIDIA GPUs Description: The CUDA library provides a direct, general purpose C-like SPMD programming@@ -33,10 +33,10 @@ . [/NOTES:/] .- The setup script for this package requires at least Cabal-1.22. To upgrade,+ The setup script for this package requires at least Cabal-1.24. To upgrade, execute one of: .- * cabal users: @cabal install Cabal --constraint="Cabal >= 1.22"@+ * cabal users: @cabal install Cabal --constraint="Cabal >= 1.24"@ . * stack users: @stack setup --upgrade-cabal@ .@@ -63,7 +63,7 @@ Homepage: https://github.com/tmcdonell/cuda Bug-reports: https://github.com/tmcdonell/cuda/issues Category: Foreign-Cabal-version: >= 1.22+Cabal-version: >= 1.24 Tested-with: GHC >= 7.6 Build-type: Custom@@ -78,7 +78,7 @@ custom-setup setup-depends: base >= 4.6- , Cabal >= 1.22+ , Cabal >= 1.24 , directory >= 1.0 , filepath >= 1.0 @@ -181,6 +181,6 @@ source-repository this type: git location: https://github.com/tmcdonell/cuda- tag: 0.9.0.0+ tag: 0.9.0.1 -- vim: nospell
examples/src/deviceQueryDrv/DeviceQuery.hs view
@@ -6,6 +6,7 @@ import Control.Monad import Text.Printf import Text.PrettyPrint+import Prelude hiding ( (<>) ) import Foreign.CUDA.Analysis as CUDA import qualified Foreign.CUDA.Driver as CUDA
src/Foreign/CUDA/Driver/IPC/Marshal.chs view
@@ -104,7 +104,7 @@ -- Open an inter-process memory handle exported from another process, -- returning a device pointer usable in the current process. ----- Maps memory exported by another process with 'create' into the current+-- Maps memory exported by another process with 'export into the current -- device address space. For contexts on different devices, 'open' can -- attempt to enable peer access if the user called -- 'Foreign.CUDA.Driver.Context.Peer.add', and is controlled by the