| 55 | } |
| 56 | |
| 57 | af_err afcl_add_device_context(cl_device_id dev, cl_context ctx, |
| 58 | cl_command_queue que) { |
| 59 | af_backend backend; |
| 60 | af_get_active_backend(&backend); |
| 61 | if (backend == AF_BACKEND_OPENCL) { |
| 62 | CALL(afcl_add_device_context, dev, ctx, que); |
| 63 | } |
| 64 | return AF_ERR_NOT_SUPPORTED; |
| 65 | } |
| 66 | |
| 67 | af_err afcl_set_device_context(cl_device_id dev, cl_context ctx) { |
| 68 | af_backend backend; |
no test coverage detected