MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / map

Method map

arm_compute/Acl.hpp:620–626  ·  view source on GitHub ↗

Maps the backing memory of a given tensor that can be used by the host to access any contents * * @return A valid non-zero pointer in case of success else nullptr */

Source from the content-addressed store, hash-verified

618 * @return A valid non-zero pointer in case of success else nullptr
619 */
620 void *map()
621 {
622 void *handle = nullptr;
623 const auto st = detail::as_enum<StatusCode>(AclMapTensor(_object.get(), &handle));
624 report_status(st, "[Compute Library] Failed to map the tensor and extract the tensor's backing memory!");
625 return handle;
626 }
627 /** Unmaps tensor's memory
628 *
629 * @param[in] handle Handle to unmap

Callers

nothing calls this directly

Calls 3

AclMapTensorFunction · 0.85
report_statusFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected