| 789 | } |
| 790 | |
| 791 | af_err afcl_get_context(cl_context* ctx, const bool retain) { |
| 792 | try { |
| 793 | *ctx = getContext()(); |
| 794 | if (retain) { clRetainContext(*ctx); } |
| 795 | } |
| 796 | CATCHALL; |
| 797 | return AF_SUCCESS; |
| 798 | } |
| 799 | |
| 800 | af_err afcl_get_queue(cl_command_queue* queue, const bool retain) { |
| 801 | try { |
nothing calls this directly
no test coverage detected