| 32 | } |
| 33 | |
| 34 | af::Backend getBackendId(const array &in) { |
| 35 | auto result = static_cast<af::Backend>(0); |
| 36 | AF_THROW(af_get_backend_id(&result, in.get())); |
| 37 | return result; |
| 38 | } |
| 39 | |
| 40 | int getDeviceId(const array &in) { |
| 41 | int device = getDevice(); |
nothing calls this directly
no test coverage detected