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

Function afcl_set_device_context

src/backend/opencl/platform.cpp:834–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834af_err afcl_set_device_context(cl_device_id dev, cl_context ctx) {
835 try {
836 setDeviceContext(dev, ctx);
837 }
838 CATCHALL;
839 return AF_SUCCESS;
840}
841
842af_err afcl_delete_device_context(cl_device_id dev, cl_context ctx) {
843 try {

Callers

nothing calls this directly

Calls 1

setDeviceContextFunction · 0.70

Tested by

no test coverage detected