memory cleanup
added cmake support for opencl sdks