| 14 | #include <af/cuda.h> |
| 15 | |
| 16 | af_err afcu_get_stream(cudaStream_t* stream, int id) { |
| 17 | af_backend backend; |
| 18 | af_get_active_backend(&backend); |
| 19 | if (backend == AF_BACKEND_CUDA) { CALL(afcu_get_stream, stream, id); } |
| 20 | return AF_ERR_NOT_SUPPORTED; |
| 21 | } |
| 22 | |
| 23 | af_err afcu_get_native_id(int* nativeid, int id) { |
| 24 | af_backend backend; |
no test coverage detected