| 48 | } |
| 49 | |
| 50 | af_err afcl_set_device_id(cl_device_id id) { |
| 51 | af_backend backend; |
| 52 | af_get_active_backend(&backend); |
| 53 | if (backend == AF_BACKEND_OPENCL) { CALL(afcl_set_device_id, id); } |
| 54 | return AF_ERR_NOT_SUPPORTED; |
| 55 | } |
| 56 | |
| 57 | af_err afcl_add_device_context(cl_device_id dev, cl_context ctx, |
| 58 | cl_command_queue que) { |
no test coverage detected