Device-specific : wrapped the new signature of device_specific::template_base::check(). Now returns error code. Previously threw an exception