changed device retention policy
authorMatthew William Cox <matt@mattcox.ca>
Mon, 26 Jul 2010 20:12:18 +0000 (16:12 -0400)
committerMatthew William Cox <matt@mattcox.ca>
Mon, 26 Jul 2010 20:12:18 +0000 (16:12 -0400)
commit578c8f4de7b30659a017928f7e96b8bfe58db8b7
treef2d3fed171255b5082c30a1eb042bf02fd941a02
parentcb9debf54695ea421a740d3ce6e29b7ee056577f
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.
System/OpenCL/Private/Context.hsc