The array API standard will soon require the `device` keyword be added to `can_cast` and `result_type` See: https://github.com/data-apis/array-api/pull/691