Add copyPerPlane stub, handle empty shards, and print the CL device.