MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / afcl_add_device_context

Function afcl_add_device_context

src/backend/opencl/platform.cpp:825–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825af_err afcl_add_device_context(cl_device_id dev, cl_context ctx,
826 cl_command_queue que) {
827 try {
828 addDeviceContext(dev, ctx, que);
829 }
830 CATCHALL;
831 return AF_SUCCESS;
832}
833
834af_err afcl_set_device_context(cl_device_id dev, cl_context ctx) {
835 try {

Callers

nothing calls this directly

Calls 1

addDeviceContextFunction · 0.70

Tested by

no test coverage detected