Made the Platform Interface More Functional
authorMatthew William Cox <matt@mattcox.ca>
Wed, 21 Jul 2010 18:45:47 +0000 (14:45 -0400)
committerMatthew William Cox <matt@mattcox.ca>
Wed, 21 Jul 2010 21:49:49 +0000 (17:49 -0400)
commitdf33b893dbbd90818460d72588433a6624c7f134
tree41f6358f36e6c98d01bd57b85d158cfd1262eb72
parent97539e25abfac119d8f5bcd758aa495d6b88ae85
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.
System/OpenCL/Device.hsc
System/OpenCL/Platform.hs [new file with mode: 0644]
System/OpenCL/Platform.hsc [deleted file]
System/OpenCL/Platform/Private.hsc [new file with mode: 0644]
hopencl.cabal