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

Function af_memory_manager_set_payload

src/api/c/memory.cpp:472–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472af_err af_memory_manager_set_payload(af_memory_manager handle, void *payload) {
473 try {
474 MemoryManager &manager = getMemoryManager(handle);
475 manager.payload = payload;
476 }
477 CATCHALL;
478
479 return AF_SUCCESS;
480}
481
482////////////////////////////////////////////////////////////////////////////////
483// Native memory interface wrapper implementations

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected