Added user definable local work size
Added kernel work group info and corrected memory allocation bug in C++ methods