Only call clRetainDevice()/clReleaseDevice() for sub-devices