Skip to content

Commit

Permalink
Build fixes and other critical fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Karlson committed Aug 1, 2011
1 parent 2ece93e commit ad65c8f
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 45 deletions.
87 changes: 43 additions & 44 deletions OpenCLRaw.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ license: BSD3
license-file: LICENSE
copyright: Renaissance Computing Institute
maintainer: J.R. Heard
build-depends: base <= 4.1.0.0, bytestring -any, mtl -any
stability: Experimental
homepage: http://vis.renci.org/jeff/opencl
package-url:
Expand All @@ -26,46 +25,46 @@ description: The OpenCL system for open heterogenous data parallel supercomputin

category: Graphics
author: J.R. Heard
tested-with:
data-files:
data-dir: ""
extra-source-files:
extra-tmp-files:
exposed-modules: System.OpenCL.Raw.V10.CommandQueue
System.OpenCL.Raw.V10.Context
System.OpenCL.Raw.V10.DeviceInfo
System.OpenCL.Raw.V10.Errors
System.OpenCL.Raw.V10.Etc
System.OpenCL.Raw.V10.EventObject
System.OpenCL.Raw.V10.FlushFinish
System.OpenCL.Raw.V10.Kernel
System.OpenCL.Raw.V10.MemoryObject
System.OpenCL.Raw.V10.OutOfOrder
System.OpenCL.Raw.V10.PlatformInfo
System.OpenCL.Raw.V10.ProgramObject
System.OpenCL.Raw.V10.Sampler
System.OpenCL.Raw.V10.Types
System.OpenCL.Raw.V10
exposed: True
buildable: True
build-tools:
cpp-options:
cc-options:
ld-options:
pkgconfig-depends:
frameworks:
c-sources:
extensions:
extra-libraries:
extra-lib-dirs:
includes:
install-includes:
include-dirs:
hs-source-dirs: .
other-modules: System.OpenCL.Raw.V10.Utils
ghc-prof-options:
ghc-shared-options:
ghc-options:
hugs-options:
nhc98-options:
jhc-options:

Library
exposed-modules: System.OpenCL.Raw.V10.CommandQueue
System.OpenCL.Raw.V10.Context
System.OpenCL.Raw.V10.DeviceInfo
System.OpenCL.Raw.V10.Errors
System.OpenCL.Raw.V10.Etc
System.OpenCL.Raw.V10.EventObject
System.OpenCL.Raw.V10.FlushFinish
System.OpenCL.Raw.V10.Kernel
System.OpenCL.Raw.V10.MemoryObject
System.OpenCL.Raw.V10.OutOfOrder
System.OpenCL.Raw.V10.PlatformInfo
System.OpenCL.Raw.V10.ProgramObject
System.OpenCL.Raw.V10.Sampler
System.OpenCL.Raw.V10.Types
System.OpenCL.Raw.V10
build-depends: base <= 4.4,
bytestring -any,
mtl >= 2 && < 2.1
exposed: True
buildable: True
build-tools:
cpp-options:
cc-options:
ld-options:
pkgconfig-depends:
frameworks:
c-sources:
extensions:
extra-libraries:
extra-lib-dirs:
includes:
install-includes:
include-dirs:
hs-source-dirs: .
other-modules: System.OpenCL.Raw.V10.Utils
ghc-prof-options:
ghc-shared-options:
ghc-options:
hugs-options:
nhc98-options:
jhc-options:
1 change: 1 addition & 0 deletions System/OpenCL/Raw/V10/Kernel.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module System.OpenCL.Raw.V10.Kernel
,clRetainKernel
,clReleaseKernel
,clGetKernelInfo
,clSetKernelArg
,clGetKernelWorkGroupInfo
,clEnqueueNDRangeKernel
,clEnqueueTask
Expand Down
2 changes: 1 addition & 1 deletion System/OpenCL/Raw/V10/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ wrapGetInfo raw_infoFn param_size = alloca $ \value_size_ret -> do


nest :: [(r -> a) -> a] -> ([r] -> a) -> a
nest xs = runCont (sequence (map Cont xs))
nest xs = runCont (sequence (map cont xs))

withCStringArray0 :: [String] -> (Ptr CString -> IO a) -> IO a
withCStringArray0 strings act = nest (map withCString strings)
Expand Down

0 comments on commit ad65c8f

Please sign in to comment.