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

Function afcl_delete_device_context

src/api/unified/opencl.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76af_err afcl_delete_device_context(cl_device_id dev, cl_context ctx) {
77 af_backend backend;
78 af_get_active_backend(&backend);
79 if (backend == AF_BACKEND_OPENCL) {
80 CALL(afcl_delete_device_context, dev, ctx);
81 }
82 return AF_ERR_NOT_SUPPORTED;
83}

Callers 2

deleteDeviceFunction · 0.50
deleteDeviceFunction · 0.50

Calls 1

af_get_active_backendFunction · 0.70

Tested by

no test coverage detected