| 580 | } |
| 581 | |
| 582 | af_err afcu_set_native_id(int nativeid) { |
| 583 | try { |
| 584 | arrayfire::cuda::setDevice( |
| 585 | arrayfire::cuda::getDeviceIdFromNativeId(nativeid)); |
| 586 | } |
| 587 | CATCHALL; |
| 588 | return AF_SUCCESS; |
| 589 | } |
| 590 | |
| 591 | af_err afcu_cublasSetMathMode(cublasMath_t mode) { |
| 592 | try { |
nothing calls this directly
no test coverage detected