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

Method getFlag

src/backend/opencl/Kernel.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36int Kernel::getFlag(Kernel::DevPtrType src) {
37 int retVal = 0;
38 getQueue().enqueueReadBuffer(*src, CL_TRUE, 0, sizeof(int), &retVal);
39 return retVal;
40}
41
42} // namespace opencl
43} // namespace arrayfire

Callers 2

floodFillFunction · 0.45
edgeTrackingHysteresisFunction · 0.45

Calls 1

getQueueFunction · 0.50

Tested by

no test coverage detected