naive way to initialize OpenCL device and compile kernel