| 564 | } // namespace arrayfire |
| 565 | |
| 566 | af_err afcu_get_stream(cudaStream_t *stream, int id) { |
| 567 | try { |
| 568 | *stream = arrayfire::cuda::getStream(id); |
| 569 | } |
| 570 | CATCHALL; |
| 571 | return AF_SUCCESS; |
| 572 | } |
| 573 | |
| 574 | af_err afcu_get_native_id(int *nativeid, int id) { |
| 575 | try { |
nothing calls this directly
no test coverage detected