| 38 | } |
| 39 | |
| 40 | int getDeviceId(const array &in) { |
| 41 | int device = getDevice(); |
| 42 | AF_THROW(af_get_device_id(&device, in.get())); |
| 43 | return device; |
| 44 | } |
| 45 | |
| 46 | af::Backend getActiveBackend() { |
| 47 | auto result = static_cast<af::Backend>(0); |
nothing calls this directly
no test coverage detected