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

Method setFlag

src/backend/opencl/Kernel.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void Kernel::setFlag(Kernel::DevPtrType dst, int* scalarValPtr,
31 const bool syncCopy) {
32 UNUSED(syncCopy);
33 getQueue().enqueueFillBuffer(*dst, *scalarValPtr, 0, sizeof(int));
34}
35
36int Kernel::getFlag(Kernel::DevPtrType src) {
37 int retVal = 0;

Callers 2

floodFillFunction · 0.45
edgeTrackingHysteresisFunction · 0.45

Calls 1

getQueueFunction · 0.50

Tested by

no test coverage detected