OpenCL: use first device.
Restructure.
Typo.
Use C++ vectors and new/delete.
Release OpenCL programs and kernels.