cuda 0.10.2.0 → 0.11.0.0
raw patch · 48 files changed
+168/−52 lines, 48 filessetup-changed
Files
- CHANGELOG.md +5/−0
- README.md +87/−2
- Setup.hs +1/−1
- cbits/stubs.h +17/−0
- cuda.cabal +5/−4
- src/Foreign/C/Extra.hs +1/−1
- src/Foreign/CUDA.hs +1/−1
- src/Foreign/CUDA/Analysis.hs +1/−1
- src/Foreign/CUDA/Analysis/Device.chs +11/−3
- src/Foreign/CUDA/Analysis/Occupancy.hs +1/−1
- src/Foreign/CUDA/Driver.hs +1/−1
- src/Foreign/CUDA/Driver/Context.hs +1/−1
- src/Foreign/CUDA/Driver/Context/Base.chs +1/−1
- src/Foreign/CUDA/Driver/Context/Config.chs +1/−1
- src/Foreign/CUDA/Driver/Context/Peer.chs +1/−1
- src/Foreign/CUDA/Driver/Context/Primary.chs +1/−1
- src/Foreign/CUDA/Driver/Device.chs +1/−1
- src/Foreign/CUDA/Driver/Error.chs +1/−1
- src/Foreign/CUDA/Driver/Event.chs +1/−1
- src/Foreign/CUDA/Driver/Exec.chs +1/−1
- src/Foreign/CUDA/Driver/Graph/Base.chs +1/−1
- src/Foreign/CUDA/Driver/Graph/Build.chs +1/−1
- src/Foreign/CUDA/Driver/Graph/Capture.chs +1/−1
- src/Foreign/CUDA/Driver/Graph/Exec.chs +1/−1
- src/Foreign/CUDA/Driver/IPC/Event.chs +1/−1
- src/Foreign/CUDA/Driver/IPC/Marshal.chs +1/−1
- src/Foreign/CUDA/Driver/Marshal.chs +1/−1
- src/Foreign/CUDA/Driver/Module.hs +1/−1
- src/Foreign/CUDA/Driver/Module/Base.chs +1/−1
- src/Foreign/CUDA/Driver/Module/Link.chs +1/−1
- src/Foreign/CUDA/Driver/Module/Query.chs +1/−1
- src/Foreign/CUDA/Driver/Profiler.chs +1/−1
- src/Foreign/CUDA/Driver/Stream.chs +1/−1
- src/Foreign/CUDA/Driver/Texture.chs +1/−1
- src/Foreign/CUDA/Driver/Unified.chs +1/−1
- src/Foreign/CUDA/Driver/Utils.chs +1/−1
- src/Foreign/CUDA/Path.chs +1/−1
- src/Foreign/CUDA/Ptr.hs +1/−1
- src/Foreign/CUDA/Runtime.hs +1/−1
- src/Foreign/CUDA/Runtime/Device.chs +1/−1
- src/Foreign/CUDA/Runtime/Error.chs +1/−1
- src/Foreign/CUDA/Runtime/Event.chs +1/−1
- src/Foreign/CUDA/Runtime/Exec.chs +1/−1
- src/Foreign/CUDA/Runtime/Marshal.chs +1/−1
- src/Foreign/CUDA/Runtime/Stream.chs +1/−1
- src/Foreign/CUDA/Runtime/Texture.chs +1/−1
- src/Foreign/CUDA/Runtime/Utils.chs +1/−1
- src/Text/Show/Describe.hs +1/−1
CHANGELOG.md view
@@ -10,6 +10,10 @@ because NVIDIA are A-OK introducing breaking changes in minor updates. +## [0.11.0.0] - 2021-07-05+### Added+ * Add support for CUDA-11.[0..4]+ ## [0.10.2.0] - 2020-08-26 ### Added * Add support for CUDA-10.2@@ -160,6 +164,7 @@ * Add functions from CUDA-6.5 +[0.11.0.0]: https://github.com/tmcdonell/cuda/compare/v0.10.2.0...v0.11.0.0 [0.10.2.0]: https://github.com/tmcdonell/cuda/compare/v0.10.1.0...v0.10.2.0 [0.10.1.0]: https://github.com/tmcdonell/cuda/compare/v0.10.0.0...v0.10.1.0 [0.10.0.0]: https://github.com/tmcdonell/cuda/compare/0.9.0.3...v0.10.0.0
README.md view
@@ -1,8 +1,8 @@ Haskell FFI Bindings to CUDA ============================ -[](https://travis-ci.org/tmcdonell/cuda)-[](https://ci.appveyor.com/project/tmcdonell/cuda)+[](https://github.com/tmcdonell/cuda/actions/workflows/ci-linux.yml)+[](https://github.com/tmcdonell/cuda/actions/workflows/ci-windows.yml) [](https://stackage.org/lts/package/cuda) [](https://stackage.org/nightly/package/cuda) [](https://hackage.haskell.org/package/cuda)@@ -59,4 +59,89 @@ - cuGraphExecMemcpyNodeSetParams - cuGraphExecMemsetNodeSetParams - cuGraphExecUpdate++### CUDA-11.0++- cuCtxResetPersistentingL2Cache+- cuMemRetainAllocationHandle+- cuStreamCopyAttributes+- cuStreamGetAttribute+- cuStreamSetAttribute+- cuGraphKernelNodeCopyAttributes+- cuGraphKernelNodeGetAttribute+- cuGraphKernelNodeSetAttribute+- cuOccupancyAvailableDynamicSMemPerBlock++### CUDA-11.1++- cuDeviceGetTexture1DLinearMaxWidth+- cuArrayGetSparseProperties+- cuMipmappedArrayGetSparseProperties+- cuMemMapArrayAsync+- cuEventRecordWithFlags+- cuGraphAddEventRecordNode+- cuGraphAddEventWaitNode+- cuGraphEventRecordNodeGetEvent+- cuGraphEventRecordNodeSetEvent+- cuGraphEventWaitNodeGetEvent+- cuGraphEventWaitNodeSetEvent+- cuGraphExecChildGraphNodeSetParams+- cuGraphExecEventRecordNodeSetEvent+- cuGraphExecEventWaitNodeSetEvent+- cuGraphUpload++### CUDA-11.2++- cuDeviceGetDefaultMemPool+- cuDeviceGetMemPool+- cuDeviceSetMemPool+- cuArrayGetPlane+- cuMemAllocAsync+- cuMemAllocFromPoolAsync+- cuMemFreeAsync+- cuMemPoolCreate+- cuMemPoolDestroy+- cuMemPoolExportPointer+- cuMemPoolExportToShareableHandle+- cuMemPoolGetAccess+- cuMemPoolGetAttribute+- cuMemPoolImportFromShareableHandle+- cuMemPoolImportPointer+- cuMemPoolSetAccess+- cuMemPoolSetAttribute+- cuMemPoolTrimTo+- cuGraphAddExternalSemaphoresSignalNode+- cuGraphAddExternalSemaphoresWaitNode+- cuGraphExecExternalSemaphoresSignalNodeSetParams+- cuGraphExecExternalSemaphoresWaitNodeSetParams+- cuGraphExternalSemaphoresSignalNodeGetParams+- cuGraphExternalSemaphoresSignalNodeSetParams+- cuGraphExternalSemaphoresWaitNodeGetParams+- cuGraphExternalSemaphoresWaitNodeSetParams++### CUDA-11.3++- cuStreamGetCaptureInfo_v2+- cuFuncGetModule+- cuGraphDebugDotPrint+- cuGraphReleaseUserObject+- cuGraphRetainUserObject+- cuUserObjectCreate+- cuUserObjectRelease+- cuUserObjectRetain+- cuGetProcAddress++### CUDA-11.4++- cuDeviceGetUuid_v2+- cuCtxCreate_v3+- cuCtxGetExecAffinity+- cuDeviceGetGraphMemAttribute+- cuDeviceGraphMemTrim+- cuDeviceSetGraphMemAttribute+- cuGraphAddMemAllocNode+- cuGraphAddMemFreeNode+- cuGraphInstantiateWithFlags+- cuGraphMemAllocNodeGetParams+- cuGraphMemFreeNodeGetParams
Setup.hs view
@@ -460,7 +460,7 @@ result <- findFirstValidLocation verbosity platform (candidateCUDAInstallPaths verbosity platform) case result of Just installPath -> do- notice verbosity $ printf "Found CUDA toolkit at: %s" installPath+ notice verbosity $ printf "Found CUDA toolkit at: %s (set CUDA_PATH to override this)" installPath return installPath Nothing -> die' verbosity cudaNotFoundMsg
cbits/stubs.h view
@@ -167,6 +167,23 @@ CUresult CUDAAPI cuGraphExecKernelNodeSetParams_simple(CUgraphExec hGraphExec, CUgraphNode hNode, CUfunction func, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, void** kernelParams); #endif +#if CUDA_VERSION >= 11000+#undef cuGraphInstantiate+#undef cuDevicePrimaryCtxRelease+#undef cuDevicePrimaryCtxReset+#undef cuDevicePrimaryCtxSetFlags++CUresult CUDAAPI cuGraphInstantiate(CUgraphExec *phGraphExec, CUgraph hGraph, CUgraphNode *phErrorNode, char *logBuffer, size_t bufferSize);+CUresult CUDAAPI cuDevicePrimaryCtxRelease(CUdevice dev);+CUresult CUDAAPI cuDevicePrimaryCtxReset(CUdevice dev);+CUresult CUDAAPI cuDevicePrimaryCtxSetFlags(CUdevice dev, unsigned int flags);+#endif++#if CUDA_VERSION >= 11010+#undef cuIpcOpenMemHandle+CUresult CUDAAPI cuIpcOpenMemHandle(CUdeviceptr *pdptr, CUipcMemHandle handle, unsigned int Flags);+#endif+ #ifdef __cplusplus } #endif
cuda.cabal view
@@ -1,5 +1,7 @@+cabal-version: 1.24+ Name: cuda-Version: 0.10.2.0+Version: 0.11.0.0 Synopsis: FFI binding to the CUDA interface for programming NVIDIA GPUs Description: The CUDA library provides a direct, general purpose C-like SPMD programming@@ -28,7 +30,7 @@ . * "Foreign.CUDA.Runtime" .- Tested with library versions up to CUDA-10.2. See also the+ Tested with library versions up to CUDA-11.4. See also the <https://travis-ci.org/tmcdonell/cuda travis-ci.org> build matrix for version compatibility. .@@ -64,7 +66,6 @@ Homepage: https://github.com/tmcdonell/cuda Bug-reports: https://github.com/tmcdonell/cuda/issues Category: Foreign-Cabal-version: >= 1.24 Tested-with: GHC >= 8.0 Build-type: Custom @@ -190,6 +191,6 @@ source-repository this type: git location: https://github.com/tmcdonell/cuda- tag: v0.10.2.0+ tag: v0.11.0.0 -- vim: nospell
src/Foreign/C/Extra.hs view
@@ -3,7 +3,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.C.Extra--- Copyright : [2018] Trevor L. McDonell+-- Copyright : [2018..2020] Trevor L. McDonell -- License : BSD -- --------------------------------------------------------------------------------
src/Foreign/CUDA.hs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA--- Copyright : [2009..2017] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Top level bindings. By default, expose the C-for-CUDA runtime API bindings,
src/Foreign/CUDA/Analysis.hs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Analysis--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Meta-module exporting CUDA analysis routines
src/Foreign/CUDA/Analysis/Device.chs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Analysis.Device--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Common device functions@@ -365,7 +365,7 @@ , threadsPerMP = 2048 , threadBlocksPerMP = 32 , sharedMemPerMP = 167936 -- of 192KB- , maxSharedMemPerBlock = 163840+ , maxSharedMemPerBlock = 167936 , regFileSizePerMP = 65536 , maxRegPerBlock = 65536 , regAllocUnit = 256@@ -377,6 +377,14 @@ , maxGridsPerDevice = 128 } + Compute 8 6 -> (resources (Compute 8 0)) -- Ampere GA102+ { warpsPerMP = 48+ , threadsPerMP = 1536+ , threadBlocksPerMP = 16+ , sharedMemPerMP = 102400+ , maxSharedMemPerBlock = 102400+ }+ -- Something might have gone wrong, or the library just needs to be -- updated for the next generation of hardware, in which case we just want -- to pick a sensible default and carry on.@@ -385,7 +393,7 @@ -- However, it should be OK because all library functions run in IO, so it -- is likely the user code is as well. --- _ -> trace warning $ resources (Compute 3 0)+ _ -> trace warning $ resources (Compute 6 0) where warning = unlines [ "*** Warning: Unknown CUDA device compute capability: " ++ show compute , "*** Please submit a bug report at https://github.com/tmcdonell/cuda/issues" ]
src/Foreign/CUDA/Analysis/Occupancy.hs view
@@ -2,7 +2,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Analysis.Occupancy--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Occupancy calculations for CUDA kernels
src/Foreign/CUDA/Driver.hs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- This module defines an interface to the CUDA driver API. The Driver API
src/Foreign/CUDA/Driver/Context.hs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Context--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Context management for low-level driver interface
src/Foreign/CUDA/Driver/Context/Base.chs view
@@ -9,7 +9,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Context.Base--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Context management for the low-level driver interface
src/Foreign/CUDA/Driver/Context/Config.chs view
@@ -9,7 +9,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Context.Config--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Context configuration for the low-level driver interface
src/Foreign/CUDA/Driver/Context/Peer.chs view
@@ -9,7 +9,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Context.Peer--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Direct peer context access functions for the low-level driver interface.
src/Foreign/CUDA/Driver/Context/Primary.chs view
@@ -5,7 +5,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Context.Primary--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Primary context management for low-level driver interface. The primary
src/Foreign/CUDA/Driver/Device.chs view
@@ -10,7 +10,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Device--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Device management for low-level driver interface
src/Foreign/CUDA/Driver/Error.chs view
@@ -4,7 +4,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Error--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Error handling
src/Foreign/CUDA/Driver/Event.chs view
@@ -9,7 +9,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Event--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Event management for low-level driver interface
src/Foreign/CUDA/Driver/Exec.chs view
@@ -7,7 +7,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Exec--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Kernel execution control for low-level driver interface
src/Foreign/CUDA/Driver/Graph/Base.chs view
@@ -10,7 +10,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Graph.Base--- Copyright : [2018] Trevor L. McDonell+-- Copyright : [2018..2020] Trevor L. McDonell -- License : BSD -- -- Graph execution functions for the low-level driver interface
src/Foreign/CUDA/Driver/Graph/Build.chs view
@@ -6,7 +6,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Graph.Build--- Copyright : [2018] Trevor L. McDonell+-- Copyright : [2018..2020] Trevor L. McDonell -- License : BSD -- -- Graph construction functions for the low-level driver interface
src/Foreign/CUDA/Driver/Graph/Capture.chs view
@@ -9,7 +9,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Graph.Capture--- Copyright : [2018] Trevor L. McDonell+-- Copyright : [2018..2020] Trevor L. McDonell -- License : BSD -- -- Requires CUDA-10
src/Foreign/CUDA/Driver/Graph/Exec.chs view
@@ -5,7 +5,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Graph.Exec--- Copyright : [2018] Trevor L. McDonell+-- Copyright : [2018..2020] Trevor L. McDonell -- License : BSD -- -- Graph execution functions for the low-level driver interface
src/Foreign/CUDA/Driver/IPC/Event.chs view
@@ -5,7 +5,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.IPC.Event--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- IPC event management for low-level driver interface.
src/Foreign/CUDA/Driver/IPC/Marshal.chs view
@@ -6,7 +6,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.IPC.Marshal--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- IPC memory management for low-level driver interface.
src/Foreign/CUDA/Driver/Marshal.chs view
@@ -9,7 +9,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Marshal--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Memory management for low-level driver interface
src/Foreign/CUDA/Driver/Module.hs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Module--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Module management for low-level driver interface
src/Foreign/CUDA/Driver/Module/Base.chs view
@@ -7,7 +7,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Module.Base--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Module loading for low-level driver interface
src/Foreign/CUDA/Driver/Module/Link.chs view
@@ -7,7 +7,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Module.Link--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Module linking for low-level driver interface
src/Foreign/CUDA/Driver/Module/Query.chs view
@@ -5,7 +5,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Module.Query--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Querying module attributes for low-level driver interface
src/Foreign/CUDA/Driver/Profiler.chs view
@@ -2,7 +2,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Profiler--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Profiler control for low-level driver interface
src/Foreign/CUDA/Driver/Stream.chs view
@@ -9,7 +9,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Stream--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Stream management for low-level driver interface
src/Foreign/CUDA/Driver/Texture.chs view
@@ -4,7 +4,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Texture--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Texture management for low-level driver interface
src/Foreign/CUDA/Driver/Unified.chs view
@@ -8,7 +8,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Unified--- Copyright : [2017..2018] Trevor L. McDonell+-- Copyright : [2017..2020] Trevor L. McDonell -- License : BSD -- -- Unified addressing functions for the low-level driver interface
src/Foreign/CUDA/Driver/Utils.chs view
@@ -2,7 +2,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Utils--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Utility functions
src/Foreign/CUDA/Path.chs view
@@ -2,7 +2,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Path--- Copyright : [2017..2018] Trevor L. McDonell+-- Copyright : [2017..2020] Trevor L. McDonell -- License : BSD -- --------------------------------------------------------------------------------
src/Foreign/CUDA/Ptr.hs view
@@ -2,7 +2,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Ptr--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Data pointers on the host and device. These can be shared freely between the
src/Foreign/CUDA/Runtime.hs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Top level bindings to the C-for-CUDA runtime API
src/Foreign/CUDA/Runtime/Device.chs view
@@ -11,7 +11,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime.Device--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Device management routines
src/Foreign/CUDA/Runtime/Error.chs view
@@ -4,7 +4,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime.Error--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Error handling functions
src/Foreign/CUDA/Runtime/Event.chs view
@@ -6,7 +6,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Driver.Event--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Event management for C-for-CUDA runtime environment
src/Foreign/CUDA/Runtime/Exec.chs view
@@ -6,7 +6,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime.Exec--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Kernel execution control for C-for-CUDA runtime interface
src/Foreign/CUDA/Runtime/Marshal.chs view
@@ -5,7 +5,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime.Marshal--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Memory management for CUDA devices
src/Foreign/CUDA/Runtime/Stream.chs view
@@ -3,7 +3,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime.Stream--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Stream management routines
src/Foreign/CUDA/Runtime/Texture.chs view
@@ -3,7 +3,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime.Texture--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Texture references
src/Foreign/CUDA/Runtime/Utils.chs view
@@ -2,7 +2,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Foreign.CUDA.Runtime.Utils--- Copyright : [2009..2018] Trevor L. McDonell+-- Copyright : [2009..2020] Trevor L. McDonell -- License : BSD -- -- Utility functions
src/Text/Show/Describe.hs view
@@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- -- | -- Module : Text.Show.Describe--- Copyright : [2016..2017] Trevor L. McDonell+-- Copyright : [2016..2020] Trevor L. McDonell -- License : BSD -- --------------------------------------------------------------------------------