| 20 | } |
| 21 | |
| 22 | af_err afcl_get_platform(afcl_platform* res) { |
| 23 | af_backend backend; |
| 24 | af_get_active_backend(&backend); |
| 25 | if (backend == AF_BACKEND_OPENCL) { CALL(afcl_get_platform, res); } |
| 26 | return AF_ERR_NOT_SUPPORTED; |
| 27 | } |
| 28 | |
| 29 | af_err afcl_get_context(cl_context* ctx, const bool retain) { |
| 30 | af_backend backend; |
no test coverage detected