hopencl:hopencl.git
8 years agoadded private module export lists master
Matthew William Cox [Thu, 29 Jul 2010 01:00:28 +0000 (21:00 -0400)]
added private module export lists

protect the really-internal implementation in each module from leaking
out and being accidentally used.

8 years agoImplemented Command Queues
Matthew William Cox [Mon, 26 Jul 2010 21:29:20 +0000 (17:29 -0400)]
Implemented Command Queues

8 years agochanged device retention policy
Matthew William Cox [Mon, 26 Jul 2010 20:12:18 +0000 (16:12 -0400)]
changed device retention policy

We now retain the context in the mkContext function, and release the
original retention from the creation step. This enables ref counting
account for each new Context created in Haskell.

8 years agoAdded action to query context reference count
Matthew William Cox [Mon, 26 Jul 2010 17:54:23 +0000 (13:54 -0400)]
Added action to query context reference count

8 years agoClean up the source hierarchy
Matthew William Cox [Mon, 26 Jul 2010 16:36:08 +0000 (12:36 -0400)]
Clean up the source hierarchy

Moved the private implementation files into one directory

8 years agoImplemented Contexts
Matthew William Cox [Fri, 23 Jul 2010 23:16:39 +0000 (19:16 -0400)]
Implemented Contexts

8 years agoExport Device module from toplevel module
Matthew William Cox [Fri, 23 Jul 2010 21:51:27 +0000 (17:51 -0400)]
Export Device module from toplevel module

8 years agoRead from the device and platform arrays in a nicer way
Matthew William Cox [Fri, 23 Jul 2010 21:50:41 +0000 (17:50 -0400)]
Read from the device and platform arrays in a nicer way

8 years agoRefactored the Device Implemenation
Matthew William Cox [Thu, 22 Jul 2010 17:50:01 +0000 (13:50 -0400)]
Refactored the Device Implemenation

Use a type class to reduce the amount of boiler plate code involved in
marshalling information values from C.

8 years agoMade the Device Interface More Functional
Matthew William Cox [Wed, 21 Jul 2010 19:33:29 +0000 (15:33 -0400)]
Made the Device Interface More Functional

Made the Device type into a private record type.

Made device properties functional and moved them into the device structure.

8 years agoMade the Platform Interface More Functional
Matthew William Cox [Wed, 21 Jul 2010 18:45:47 +0000 (14:45 -0400)]
Made the Platform Interface More Functional

Platform is now a record type (hidden from the exposed interface) with all the
attributes cached. They can be accessed from outside the IO monad.

Removed Enum instance for Profile. There's no reason for this instance to
exist.

8 years agoCompleted Device Binding
Matthew William Cox [Wed, 21 Jul 2010 11:28:31 +0000 (07:28 -0400)]
Completed Device Binding

8 years agoImplemented Platform Support
Matthew William Cox [Mon, 19 Jul 2010 23:18:00 +0000 (19:18 -0400)]
Implemented Platform Support