ocl: code cleanup, dump device info in tests