| 27 | } |
| 28 | |
| 29 | af_err afcl_get_context(cl_context* ctx, const bool retain) { |
| 30 | af_backend backend; |
| 31 | af_get_active_backend(&backend); |
| 32 | if (backend == AF_BACKEND_OPENCL) { CALL(afcl_get_context, ctx, retain); } |
| 33 | return AF_ERR_NOT_SUPPORTED; |
| 34 | } |
| 35 | |
| 36 | af_err afcl_get_queue(cl_command_queue* queue, const bool retain) { |
| 37 | af_backend backend; |
no test coverage detected