| 572 | } |
| 573 | |
| 574 | af_err afcu_get_native_id(int *nativeid, int id) { |
| 575 | try { |
| 576 | *nativeid = arrayfire::cuda::getDeviceNativeId(id); |
| 577 | } |
| 578 | CATCHALL; |
| 579 | return AF_SUCCESS; |
| 580 | } |
| 581 | |
| 582 | af_err afcu_set_native_id(int nativeid) { |
| 583 | try { |
nothing calls this directly
no test coverage detected