Fixed bug in deferred updating of automatic memory objects, calling GetLocal will cause the memory to update if its out of sync and has been set to deferred updating. Previously it would have to be updated after being changed back to automatic updating via a subsequent kernel.
Fixed bug when setting argument type back to Output after deferred updating (not accurately tracking UpToDate status)
Kernels resources are now freed up correctly, clEvent destructor still causes crashes.
Default type for ArgumentType enum is now unspecified rather than input. Also argument type container is explicity cleared on copy construction/assignment.
Merge pull request #5 from ADyson/MakeTestable

BugFixes