opencl: make context w/ automatic type