| 65 | } |
| 66 | |
| 67 | af_err afcl_set_device_context(cl_device_id dev, cl_context ctx) { |
| 68 | af_backend backend; |
| 69 | af_get_active_backend(&backend); |
| 70 | if (backend == AF_BACKEND_OPENCL) { |
| 71 | CALL(afcl_set_device_context, dev, ctx); |
| 72 | } |
| 73 | return AF_ERR_NOT_SUPPORTED; |
| 74 | } |
| 75 | |
| 76 | af_err afcl_delete_device_context(cl_device_id dev, cl_context ctx) { |
| 77 | af_backend backend; |
no test coverage detected