Permalink
Commits on Aug 13, 2014
  1. Accept haskell base-4.7

    jkarlson committed Aug 13, 2014
Commits on May 16, 2014
  1. Allow <mtl-2.3

    jkarlson committed May 16, 2014
Commits on Nov 25, 2012
  1. Accept haskell base-4.6

    jkarlson committed Nov 25, 2012
Commits on Apr 14, 2012
  1. MTL-2.1 works too.

    jkarlson committed Apr 14, 2012
Commits on Feb 26, 2012
Commits on Jan 23, 2012
Commits on Jan 10, 2012
Commits on Dec 29, 2011
  1. Fix ContextProperties to proper type.

    jkarlson committed Dec 29, 2011
    Conflicts:
    
    	System/OpenCL/Wrappers/Context.hs
    	System/OpenCL/Wrappers/Types.hs
Commits on Dec 28, 2011
Commits on Dec 1, 2011
  1. Replace pokeArray & allocaArray with withArray and add stricter Foreign

    jkarlson committed Dec 1, 2011
    imports to silence ghc warnings in ProgramObject.hs.
  2. Add missing _ pattern to sift in memory object as undefined, it will

    jkarlson committed Dec 1, 2011
    only be encountered, if peekArray incorrectly returns a list of odd
    lenght with even parameter.
Commits on Nov 20, 2011
  1. Add nice error message support

    ehird committed Nov 20, 2011
    This eliminates the System.OpenCL.Wrappers.Errors module and moves its
    values into System.OpenCL.Wrappers.Types to avoid a circular dependency.
    I don't think this is a big deal, since the Types module already
    contains a lot of values for the types it defines, and there aren't that
    many anyway.
  2. General clean-ups and error-handling fixes

    ehird committed Nov 20, 2011
    Thanks to -Wall and HLint I found a few bugs where I forgot to handle
    errors when calling raw functions with the new error handling...
    
    I also added some type signatures and applied some HLint suggestions.
    The library now compiles with only one or two warnings when -Wall is on,
    which is much better than beforehand.
  3. Remove an unnecessary use of unsafeCoerce(!)

    ehird committed Nov 20, 2011
    The exported type of combineOr is very scary and could lead to segfaults
    and more. Thankfully, its only use site can be replaced with a simple
    inline rewrite with the same effect. Since CommandQueueProperties is a
    newtype, no additional overhead is caused by the apparent "unboxing".
  4. Convert error-handling to use exceptions

    ehird committed Nov 20, 2011
    Basically, IO (Maybe ErrorCode) becomes IO (), and IO (Either ErrorCode a)
    becomes IO a. This allows simpler, uniform error-handling; indeed, large
    parts of the library itself have become much less deeply nested thanks
    to not having to deal with handling exceptional conditions that they just
    passed on anyway at every stage.
    
    This seems like a scary diff, but while its effects are wide-ranging,
    it's rather atomic; there's no reasonable further splitting that can be
    done, since this is a simple but global change.
Commits on Nov 19, 2011
  1. Fix build for ghc-7.2.

    jkarlson committed Nov 19, 2011
  2. Revert "Fix build for ghc-7.2."

    jkarlson committed Nov 19, 2011
    This reverts commit 2c2755e.
  3. Fix build for ghc-7.2.

    jkarlson committed Nov 19, 2011
  4. Add README.

    jkarlson committed Nov 19, 2011
  5. Move ImageDims to Types.hs.

    jkarlson committed Nov 19, 2011
  6. Cleanups, rename pushParams.

    jkarlson committed Nov 19, 2011
Commits on Nov 8, 2011
  1. Import fixes for last commit.

    jkarlson committed Nov 8, 2011
Commits on Aug 9, 2011
  1. Cleanup OutOfOrder.hs

    jkarlson committed Aug 9, 2011
  2. Cleanup EventObject.hs

    jkarlson committed Aug 9, 2011